home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1994-08-11 | 6.8 MB | [ONLN/HLX2] |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
You can browse this item here: Devices
Confidence | Program | Detection | Match Type | Support
|
---|
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Thu Jun 30 07:15:08 1994, modified Thu Aug 11 03:15:14 1994, creator 'HLX2', type 'ONLN', 7030260 bytes "Devices" , at 0x6b4674 95787 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
100%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [ONLN] |
macFileCreator | [HLX2] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 07 44 65 76 69 63 65 | 73 00 00 00 00 00 00 00 |..Device|s.......|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 4f 4e 4c 4e 48 4c 58 | 32 01 00 00 00 00 00 00 |.ONLNHLX|2.......|
|00000050| 00 00 00 00 6b 45 f4 00 | 01 76 2b aa 38 59 bc aa |....kE..|.v+.8Y..|
|00000060| 6f 80 82 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |o.......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 cc 29 00 00 |........|.....)..|
|00000080| 49 4e 53 49 44 45 20 4d | 41 43 49 4e 54 4f 53 48 |INSIDE M|ACINTOSH|
|00000090| 0d 0d 44 65 76 69 63 65 | 73 0d f0 09 41 70 70 6c |..Device|s...Appl|
|000000a0| 65 20 43 6f 6d 70 75 74 | 65 72 2c 20 49 6e 63 2e |e Comput|er, Inc.|
|000000b0| 0d a9 20 31 39 39 34 20 | 41 70 70 6c 65 20 43 6f |.. 1994 |Apple Co|
|000000c0| 6d 70 75 74 65 72 2c 20 | 49 6e 63 2e 0d 41 6c 6c |mputer, |Inc..All|
|000000d0| 20 72 69 67 68 74 73 20 | 72 65 73 65 72 76 65 64 | rights |reserved|
|000000e0| 2e 20 0d 4e 6f 20 70 61 | 72 74 20 6f 66 20 74 68 |. .No pa|rt of th|
|000000f0| 69 73 20 70 75 62 6c 69 | 63 61 74 69 6f 6e 20 6d |is publi|cation m|
|00000100| 61 79 20 62 65 20 72 65 | 70 72 6f 64 75 63 65 64 |ay be re|produced|
|00000110| 2c 20 73 74 6f 72 65 64 | 20 69 6e 20 61 20 72 65 |, stored| in a re|
|00000120| 74 72 69 65 76 61 6c 20 | 73 79 73 74 65 6d 2c 20 |trieval |system, |
|00000130| 6f 72 20 74 72 61 6e 73 | 6d 69 74 74 65 64 2c 20 |or trans|mitted, |
|00000140| 69 6e 20 61 6e 79 20 66 | 6f 72 6d 20 6f 72 20 62 |in any f|orm or b|
|00000150| 79 20 61 6e 79 20 6d 65 | 61 6e 73 2c 20 6d 65 63 |y any me|ans, mec|
|00000160| 68 61 6e 69 63 61 6c 2c | 20 65 6c 65 63 74 72 6f |hanical,| electro|
|00000170| 6e 69 63 2c 20 70 68 6f | 74 6f 63 6f 70 79 69 6e |nic, pho|tocopyin|
|00000180| 67 2c 20 72 65 63 6f 72 | 64 69 6e 67 2c 20 6f 72 |g, recor|ding, or|
|00000190| 20 6f 74 68 65 72 77 69 | 73 65 2c 20 77 69 74 68 | otherwi|se, with|
|000001a0| 6f 75 74 20 70 72 69 6f | 72 20 77 72 69 74 74 65 |out prio|r writte|
|000001b0| 6e 20 70 65 72 6d 69 73 | 73 69 6f 6e 20 6f 66 20 |n permis|sion of |
|000001c0| 41 70 70 6c 65 20 43 6f | 6d 70 75 74 65 72 2c 20 |Apple Co|mputer, |
|000001d0| 49 6e 63 2e 20 50 72 69 | 6e 74 65 64 20 69 6e 20 |Inc. Pri|nted in |
|000001e0| 74 68 65 20 55 6e 69 74 | 65 64 20 53 74 61 74 65 |the Unit|ed State|
|000001f0| 73 20 6f 66 20 41 6d 65 | 72 69 63 61 2e 0d 4e 6f |s of Ame|rica..No|
|00000200| 20 6c 69 63 65 6e 73 65 | 73 2c 20 65 78 70 72 65 | license|s, expre|
|00000210| 73 73 20 6f 72 20 69 6d | 70 6c 69 65 64 2c 20 61 |ss or im|plied, a|
|00000220| 72 65 20 67 72 61 6e 74 | 65 64 20 77 69 74 68 20 |re grant|ed with |
|00000230| 72 65 73 70 65 63 74 20 | 74 6f 20 61 6e 79 20 6f |respect |to any o|
|00000240| 66 20 74 68 65 20 74 65 | 63 68 6e 6f 6c 6f 67 79 |f the te|chnology|
|00000250| 20 64 65 73 63 72 69 62 | 65 64 20 69 6e 20 74 68 | describ|ed in th|
|00000260| 69 73 20 62 6f 6f 6b 2e | 20 41 70 70 6c 65 20 72 |is book.| Apple r|
|00000270| 65 74 61 69 6e 73 20 61 | 6c 6c 20 69 6e 74 65 6c |etains a|ll intel|
|00000280| 6c 65 63 74 75 61 6c 20 | 70 72 6f 70 65 72 74 79 |lectual |property|
|00000290| 20 72 69 67 68 74 73 20 | 61 73 73 6f 63 69 61 74 | rights |associat|
|000002a0| 65 64 20 77 69 74 68 20 | 74 68 65 20 74 65 63 68 |ed with |the tech|
|000002b0| 6e 6f 6c 6f 67 79 20 64 | 65 73 63 72 69 62 65 64 |nology d|escribed|
|000002c0| 20 69 6e 20 74 68 69 73 | 20 62 6f 6f 6b 2e 20 54 | in this| book. T|
|000002d0| 68 69 73 20 62 6f 6f 6b | 20 69 73 20 69 6e 74 65 |his book| is inte|
|000002e0| 6e 64 65 64 20 74 6f 20 | 61 73 73 69 73 74 20 61 |nded to |assist a|
|000002f0| 70 70 6c 69 63 61 74 69 | 6f 6e 20 64 65 76 65 6c |pplicati|on devel|
|00000300| 6f 70 65 72 73 20 74 6f | 20 64 65 76 65 6c 6f 70 |opers to| develop|
|00000310| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 73 20 6f 6e | applica|tions on|
|00000320| 6c 79 20 66 6f 72 20 41 | 70 70 6c 65 20 4d 61 63 |ly for A|pple Mac|
|00000330| 69 6e 74 6f 73 68 20 63 | 6f 6d 70 75 74 65 72 73 |intosh c|omputers|
|00000340| 2e 0d 45 76 65 72 79 20 | 65 66 66 6f 72 74 20 68 |..Every |effort h|
|00000350| 61 73 20 62 65 65 6e 20 | 6d 61 64 65 20 74 6f 20 |as been |made to |
|00000360| 65 6e 73 75 72 65 20 74 | 68 61 74 20 74 68 65 20 |ensure t|hat the |
|00000370| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 20 69 6e 20 74 |informat|ion in t|
|00000380| 68 69 73 20 6d 61 6e 75 | 61 6c 20 69 73 20 61 63 |his manu|al is ac|
|00000390| 63 75 72 61 74 65 2e 20 | 41 70 70 6c 65 20 69 73 |curate. |Apple is|
|000003a0| 20 6e 6f 74 20 72 65 73 | 70 6f 6e 73 69 62 6c 65 | not res|ponsible|
|000003b0| 20 66 6f 72 20 70 72 69 | 6e 74 69 6e 67 20 6f 72 | for pri|nting or|
|000003c0| 20 63 6c 65 72 69 63 61 | 6c 20 65 72 72 6f 72 73 | clerica|l errors|
|000003d0| 2e 0d 41 70 70 6c 65 20 | 43 6f 6d 70 75 74 65 72 |..Apple |Computer|
|000003e0| 2c 20 49 6e 63 2e 0d 31 | 20 49 6e 66 69 6e 69 74 |, Inc..1| Infinit|
|000003f0| 65 20 4c 6f 6f 70 0d 43 | 75 70 65 72 74 69 6e 6f |e Loop.C|upertino|
|00000400| 2c 20 43 41 20 39 35 30 | 31 34 0d 34 30 38 2d 39 |, CA 950|14.408-9|
|00000410| 39 36 2d 31 30 31 30 0d | 41 70 70 6c 65 2c 20 74 |96-1010.|Apple, t|
|00000420| 68 65 20 41 70 70 6c 65 | 20 6c 6f 67 6f 2c 20 41 |he Apple| logo, A|
|00000430| 50 44 41 2c 20 41 70 70 | 6c 65 4c 69 6e 6b 2c 20 |PDA, App|leLink, |
|00000440| 41 70 70 6c 65 54 61 6c | 6b 2c 20 41 2f 55 58 2c |AppleTal|k, A/UX,|
|00000450| 20 45 74 68 65 72 54 61 | 6c 6b 2c 20 4c 61 73 65 | EtherTa|lk, Lase|
|00000460| 72 57 72 69 74 65 72 2c | 20 4d 61 63 69 6e 74 6f |rWriter,| Macinto|
|00000470| 73 68 2c 20 4d 50 57 2c | 20 50 6f 77 65 72 42 6f |sh, MPW,| PowerBo|
|00000480| 6f 6b 2c 20 50 72 6f 44 | 4f 53 2c 20 61 6e 64 20 |ok, ProD|OS, and |
|00000490| 54 6f 6b 65 6e 54 61 6c | 6b 20 61 72 65 20 74 72 |TokenTal|k are tr|
|000004a0| 61 64 65 6d 61 72 6b 73 | 20 6f 66 20 41 70 70 6c |ademarks| of Appl|
|000004b0| 65 20 43 6f 6d 70 75 74 | 65 72 2c 20 49 6e 63 2e |e Comput|er, Inc.|
|000004c0| 2c 20 72 65 67 69 73 74 | 65 72 65 64 20 69 6e 20 |, regist|ered in |
|000004d0| 74 68 65 20 55 6e 69 74 | 65 64 20 53 74 61 74 65 |the Unit|ed State|
|000004e0| 73 20 61 6e 64 20 6f 74 | 68 65 72 20 63 6f 75 6e |s and ot|her coun|
|000004f0| 74 72 69 65 73 2e 0d 41 | 70 70 6c 65 20 44 65 73 |tries..A|pple Des|
|00000500| 6b 74 6f 70 20 42 75 73 | 2c 20 46 69 6e 64 65 72 |ktop Bus|, Finder|
|00000510| 2c 20 4d 61 63 69 6e 74 | 6f 73 68 20 51 75 61 64 |, Macint|osh Quad|
|00000520| 72 61 2c 20 50 6f 77 65 | 72 42 6f 6f 6b 20 44 75 |ra, Powe|rBook Du|
|00000530| 6f 2c 20 50 6f 77 65 72 | 20 4d 61 63 69 6e 74 6f |o, Power| Macinto|
|00000540| 73 68 2c 20 61 6e 64 20 | 51 75 69 63 6b 44 72 61 |sh, and |QuickDra|
|00000550| 77 2c 20 61 72 65 20 74 | 72 61 64 65 6d 61 72 6b |w, are t|rademark|
|00000560| 73 20 6f 66 20 41 70 70 | 6c 65 20 43 6f 6d 70 75 |s of App|le Compu|
|00000570| 74 65 72 2c 20 49 6e 63 | 2e 0d 41 64 6f 62 65 20 |ter, Inc|..Adobe |
|00000580| 49 6c 6c 75 73 74 72 61 | 74 6f 72 2c 20 41 64 6f |Illustra|tor, Ado|
|00000590| 62 65 20 50 68 6f 74 6f | 73 68 6f 70 2c 20 61 6e |be Photo|shop, an|
|000005a0| 64 20 50 6f 73 74 53 63 | 72 69 70 74 20 61 72 65 |d PostSc|ript are|
|000005b0| 20 74 72 61 64 65 6d 61 | 72 6b 73 20 6f 66 20 41 | tradema|rks of A|
|000005c0| 64 6f 62 65 20 53 79 73 | 74 65 6d 73 20 49 6e 63 |dobe Sys|tems Inc|
|000005d0| 6f 72 70 6f 72 61 74 65 | 64 2c 20 77 68 69 63 68 |orporate|d, which|
|000005e0| 20 6d 61 79 20 62 65 20 | 72 65 67 69 73 74 65 72 | may be |register|
|000005f0| 65 64 20 69 6e 20 63 65 | 72 74 61 69 6e 20 6a 75 |ed in ce|rtain ju|
|00000600| 72 69 73 64 69 63 74 69 | 6f 6e 73 2e 0d 41 6d 65 |risdicti|ons..Ame|
|00000610| 72 69 63 61 20 4f 6e 6c | 69 6e 65 20 69 73 20 61 |rica Onl|ine is a|
|00000620| 20 72 65 67 69 73 74 65 | 72 65 64 20 73 65 72 76 | registe|red serv|
|00000630| 69 63 65 20 6d 61 72 6b | 20 6f 66 20 41 6d 65 72 |ice mark| of Amer|
|00000640| 69 63 61 20 4f 6e 6c 69 | 6e 65 2c 20 49 6e 63 2e |ica Onli|ne, Inc.|
|00000650| 0d 43 6f 6d 70 75 53 65 | 72 76 65 20 69 73 20 61 |.CompuSe|rve is a|
|00000660| 20 72 65 67 69 73 74 65 | 72 65 64 20 73 65 72 76 | registe|red serv|
|00000670| 69 63 65 20 6d 61 72 6b | 20 6f 66 20 43 6f 6d 70 |ice mark| of Comp|
|00000680| 75 53 65 72 76 65 2c 20 | 49 6e 63 2e 0d 46 72 61 |uServe, |Inc..Fra|
|00000690| 6d 65 4d 61 6b 65 72 20 | 69 73 20 61 20 72 65 67 |meMaker |is a reg|
|000006a0| 69 73 74 65 72 65 64 20 | 74 72 61 64 65 6d 61 72 |istered |trademar|
|000006b0| 6b 20 6f 66 20 46 72 61 | 6d 65 20 54 65 63 68 6e |k of Fra|me Techn|
|000006c0| 6f 6c 6f 67 79 20 43 6f | 72 70 6f 72 61 74 69 6f |ology Co|rporatio|
|000006d0| 6e 2e 0d 48 65 6c 76 65 | 74 69 63 61 20 61 6e 64 |n..Helve|tica and|
|000006e0| 20 50 61 6c 61 74 69 6e | 6f 20 61 72 65 20 72 65 | Palatin|o are re|
|000006f0| 67 69 73 74 65 72 65 64 | 20 74 72 61 64 65 6d 61 |gistered| tradema|
|00000700| 72 6b 73 20 6f 66 20 4c | 69 6e 6f 74 79 70 65 20 |rks of L|inotype |
|00000710| 43 6f 6d 70 61 6e 79 2e | 0d 49 6e 74 65 72 6e 65 |Company.|.Interne|
|00000720| 74 20 69 73 20 61 20 74 | 72 61 64 65 6d 61 72 6b |t is a t|rademark|
|00000730| 20 6f 66 20 44 69 67 69 | 74 61 6c 20 45 71 75 69 | of Digi|tal Equi|
|00000740| 70 6d 65 6e 74 20 43 6f | 72 70 6f 72 61 74 69 6f |pment Co|rporatio|
|00000750| 6e 2e 0d 49 54 43 20 5a | 61 70 66 20 44 69 6e 67 |n..ITC Z|apf Ding|
|00000760| 62 61 74 73 20 69 73 20 | 61 20 72 65 67 69 73 74 |bats is |a regist|
|00000770| 65 72 65 64 20 74 72 61 | 64 65 6d 61 72 6b 20 6f |ered tra|demark o|
|00000780| 66 20 49 6e 74 65 72 6e | 61 74 69 6f 6e 61 6c 20 |f Intern|ational |
|00000790| 54 79 70 65 66 61 63 65 | 20 43 6f 72 70 6f 72 61 |Typeface| Corpora|
|000007a0| 74 69 6f 6e 2e 0d 4d 6f | 74 6f 72 6f 6c 61 20 69 |tion..Mo|torola i|
|000007b0| 73 20 61 20 72 65 67 69 | 73 74 65 72 65 64 20 74 |s a regi|stered t|
|000007c0| 72 61 64 65 6d 61 72 6b | 20 6f 66 20 4d 6f 74 6f |rademark| of Moto|
|000007d0| 72 6f 6c 61 20 43 6f 72 | 70 6f 72 61 74 69 6f 6e |rola Cor|poration|
|000007e0| 2e 0d 4e 75 42 75 73 20 | 69 73 20 61 20 74 72 61 |..NuBus |is a tra|
|000007f0| 64 65 6d 61 72 6b 20 6f | 66 20 54 65 78 61 73 20 |demark o|f Texas |
|00000800| 49 6e 73 74 72 75 6d 65 | 6e 74 73 2e 0d 4f 70 74 |Instrume|nts..Opt|
|00000810| 72 6f 74 65 63 68 20 69 | 73 20 61 20 74 72 61 64 |rotech i|s a trad|
|00000820| 65 6d 61 72 6b 20 6f 66 | 20 4f 72 62 6f 74 65 63 |emark of| Orbotec|
|00000830| 68 20 43 6f 72 70 6f 72 | 61 74 69 6f 6e 2e 0d 55 |h Corpor|ation..U|
|00000840| 4e 49 58 20 69 73 20 61 | 20 74 72 61 64 65 6d 61 |NIX is a| tradema|
|00000850| 72 6b 20 6f 66 20 55 4e | 49 58 20 53 79 73 74 65 |rk of UN|IX Syste|
|00000860| 6d 20 4c 61 62 6f 72 61 | 74 6f 72 69 65 73 2c 20 |m Labora|tories, |
|00000870| 49 6e 63 2e 0d 53 69 6d | 75 6c 74 61 6e 65 6f 75 |Inc..Sim|ultaneou|
|00000880| 73 6c 79 20 70 75 62 6c | 69 73 68 65 64 20 69 6e |sly publ|ished in|
|00000890| 20 74 68 65 20 55 6e 69 | 74 65 64 20 53 74 61 74 | the Uni|ted Stat|
|000008a0| 65 73 20 61 6e 64 20 43 | 61 6e 61 64 61 2e 0d 4c |es and C|anada..L|
|000008b0| 49 4d 49 54 45 44 20 57 | 41 52 52 41 4e 54 59 20 |IMITED W|ARRANTY |
|000008c0| 4f 4e 20 4d 45 44 49 41 | 20 41 4e 44 20 52 45 50 |ON MEDIA| AND REP|
|000008d0| 4c 41 43 45 4d 45 4e 54 | 0d 41 4c 4c 20 49 4d 50 |LACEMENT|.ALL IMP|
|000008e0| 4c 49 45 44 20 57 41 52 | 52 41 4e 54 49 45 53 20 |LIED WAR|RANTIES |
|000008f0| 4f 4e 20 54 48 49 53 20 | 4d 41 4e 55 41 4c 2c 20 |ON THIS |MANUAL, |
|00000900| 49 4e 43 4c 55 44 49 4e | 47 20 49 4d 50 4c 49 45 |INCLUDIN|G IMPLIE|
|00000910| 44 20 57 41 52 52 41 4e | 54 49 45 53 20 4f 46 20 |D WARRAN|TIES OF |
|00000920| 4d 45 52 43 48 41 4e 54 | 41 42 49 4c 49 54 59 20 |MERCHANT|ABILITY |
|00000930| 41 4e 44 20 46 49 54 4e | 45 53 53 20 46 4f 52 20 |AND FITN|ESS FOR |
|00000940| 41 20 50 41 52 54 49 43 | 55 4c 41 52 20 50 55 52 |A PARTIC|ULAR PUR|
|00000950| 50 4f 53 45 2c 20 41 52 | 45 20 4c 49 4d 49 54 45 |POSE, AR|E LIMITE|
|00000960| 44 20 49 4e 20 44 55 52 | 41 54 49 4f 4e 20 54 4f |D IN DUR|ATION TO|
|00000970| 20 4e 49 4e 45 54 59 20 | 28 39 30 29 20 44 41 59 | NINETY |(90) DAY|
|00000980| 53 20 46 52 4f 4d 20 54 | 48 45 20 44 41 54 45 20 |S FROM T|HE DATE |
|00000990| 4f 46 20 54 48 45 20 4f | 52 49 47 49 4e 41 4c 20 |OF THE O|RIGINAL |
|000009a0| 52 45 54 41 49 4c 20 50 | 55 52 43 48 41 53 45 20 |RETAIL P|URCHASE |
|000009b0| 4f 46 20 54 48 49 53 20 | 50 52 4f 44 55 43 54 2e |OF THIS |PRODUCT.|
|000009c0| 0d 45 76 65 6e 20 74 68 | 6f 75 67 68 20 41 70 70 |.Even th|ough App|
|000009d0| 6c 65 20 68 61 73 20 72 | 65 76 69 65 77 65 64 20 |le has r|eviewed |
|000009e0| 74 68 69 73 20 6d 61 6e | 75 61 6c 2c 20 41 50 50 |this man|ual, APP|
|000009f0| 4c 45 20 4d 41 4b 45 53 | 20 4e 4f 20 57 41 52 52 |LE MAKES| NO WARR|
|00000a00| 41 4e 54 59 20 4f 52 20 | 52 45 50 52 45 53 45 4e |ANTY OR |REPRESEN|
|00000a10| 54 41 54 49 4f 4e 2c 20 | 45 49 54 48 45 52 20 45 |TATION, |EITHER E|
|00000a20| 58 50 52 45 53 53 20 4f | 52 20 49 4d 50 4c 49 45 |XPRESS O|R IMPLIE|
|00000a30| 44 2c 20 57 49 54 48 20 | 52 45 53 50 45 43 54 20 |D, WITH |RESPECT |
|00000a40| 54 4f 20 54 48 49 53 20 | 4d 41 4e 55 41 4c 2c 20 |TO THIS |MANUAL, |
|00000a50| 49 54 53 20 51 55 41 4c | 49 54 59 2c 20 41 43 43 |ITS QUAL|ITY, ACC|
|00000a60| 55 52 41 43 59 2c 20 4d | 45 52 43 48 41 4e 54 41 |URACY, M|ERCHANTA|
|00000a70| 42 49 4c 49 54 59 2c 20 | 4f 52 20 46 49 54 4e 45 |BILITY, |OR FITNE|
|00000a80| 53 53 20 46 4f 52 20 41 | 20 50 41 52 54 49 43 55 |SS FOR A| PARTICU|
|00000a90| 4c 41 52 20 50 55 52 50 | 4f 53 45 2e 20 41 53 20 |LAR PURP|OSE. AS |
|00000aa0| 41 20 52 45 53 55 4c 54 | 2c 20 54 48 49 53 20 4d |A RESULT|, THIS M|
|00000ab0| 41 4e 55 41 4c 20 49 53 | 20 53 4f 4c 44 20 d2 41 |ANUAL IS| SOLD .A|
|00000ac0| 53 20 49 53 2c d3 20 41 | 4e 44 20 59 4f 55 2c 20 |S IS,. A|ND YOU, |
|00000ad0| 54 48 45 20 50 55 52 43 | 48 41 53 45 52 2c 20 41 |THE PURC|HASER, A|
|00000ae0| 52 45 20 41 53 53 55 4d | 49 4e 47 20 54 48 45 20 |RE ASSUM|ING THE |
|00000af0| 45 4e 54 49 52 45 20 52 | 49 53 4b 20 41 53 20 54 |ENTIRE R|ISK AS T|
|00000b00| 4f 20 49 54 53 20 51 55 | 41 4c 49 54 59 20 41 4e |O ITS QU|ALITY AN|
|00000b10| 44 20 41 43 43 55 52 41 | 43 59 2e 0d 49 4e 20 4e |D ACCURA|CY..IN N|
|00000b20| 4f 20 45 56 45 4e 54 20 | 57 49 4c 4c 20 41 50 50 |O EVENT |WILL APP|
|00000b30| 4c 45 20 42 45 20 4c 49 | 41 42 4c 45 20 46 4f 52 |LE BE LI|ABLE FOR|
|00000b40| 20 44 49 52 45 43 54 2c | 20 49 4e 44 49 52 45 43 | DIRECT,| INDIREC|
|00000b50| 54 2c 20 53 50 45 43 49 | 41 4c 2c 20 49 4e 43 49 |T, SPECI|AL, INCI|
|00000b60| 44 45 4e 54 41 4c 2c 20 | 4f 52 20 43 4f 4e 53 45 |DENTAL, |OR CONSE|
|00000b70| 51 55 45 4e 54 49 41 4c | 20 44 41 4d 41 47 45 53 |QUENTIAL| DAMAGES|
|00000b80| 20 52 45 53 55 4c 54 49 | 4e 47 20 46 52 4f 4d 20 | RESULTI|NG FROM |
|00000b90| 41 4e 59 20 44 45 46 45 | 43 54 20 4f 52 20 49 4e |ANY DEFE|CT OR IN|
|00000ba0| 41 43 43 55 52 41 43 59 | 20 49 4e 20 54 48 49 53 |ACCURACY| IN THIS|
|00000bb0| 20 4d 41 4e 55 41 4c 2c | 20 65 76 65 6e 20 69 66 | MANUAL,| even if|
|00000bc0| 20 61 64 76 69 73 65 64 | 20 6f 66 20 74 68 65 20 | advised| of the |
|00000bd0| 70 6f 73 73 69 62 69 6c | 69 74 79 20 6f 66 20 73 |possibil|ity of s|
|00000be0| 75 63 68 20 64 61 6d 61 | 67 65 73 2e 0d 54 48 45 |uch dama|ges..THE|
|00000bf0| 20 57 41 52 52 41 4e 54 | 59 20 41 4e 44 20 52 45 | WARRANT|Y AND RE|
|00000c00| 4d 45 44 49 45 53 20 53 | 45 54 20 46 4f 52 54 48 |MEDIES S|ET FORTH|
|00000c10| 20 41 42 4f 56 45 20 41 | 52 45 20 45 58 43 4c 55 | ABOVE A|RE EXCLU|
|00000c20| 53 49 56 45 20 41 4e 44 | 20 49 4e 20 4c 49 45 55 |SIVE AND| IN LIEU|
|00000c30| 20 4f 46 20 41 4c 4c 20 | 4f 54 48 45 52 53 2c 20 | OF ALL |OTHERS, |
|00000c40| 4f 52 41 4c 20 4f 52 20 | 57 52 49 54 54 45 4e 2c |ORAL OR |WRITTEN,|
|00000c50| 20 45 58 50 52 45 53 53 | 20 4f 52 20 49 4d 50 4c | EXPRESS| OR IMPL|
|00000c60| 49 45 44 2e 20 4e 6f 20 | 41 70 70 6c 65 20 64 65 |IED. No |Apple de|
|00000c70| 61 6c 65 72 2c 20 61 67 | 65 6e 74 2c 20 6f 72 20 |aler, ag|ent, or |
|00000c80| 65 6d 70 6c 6f 79 65 65 | 20 69 73 20 61 75 74 68 |employee| is auth|
|00000c90| 6f 72 69 7a 65 64 20 74 | 6f 20 6d 61 6b 65 20 61 |orized t|o make a|
|00000ca0| 6e 79 20 6d 6f 64 69 66 | 69 63 61 74 69 6f 6e 2c |ny modif|ication,|
|00000cb0| 20 65 78 74 65 6e 73 69 | 6f 6e 2c 20 6f 72 20 61 | extensi|on, or a|
|00000cc0| 64 64 69 74 69 6f 6e 20 | 74 6f 20 74 68 69 73 20 |ddition |to this |
|00000cd0| 77 61 72 72 61 6e 74 79 | 2e 0d 53 6f 6d 65 20 73 |warranty|..Some s|
|00000ce0| 74 61 74 65 73 20 64 6f | 20 6e 6f 74 20 61 6c 6c |tates do| not all|
|00000cf0| 6f 77 20 74 68 65 20 65 | 78 63 6c 75 73 69 6f 6e |ow the e|xclusion|
|00000d00| 20 6f 72 20 6c 69 6d 69 | 74 61 74 69 6f 6e 20 6f | or limi|tation o|
|00000d10| 66 20 69 6d 70 6c 69 65 | 64 20 77 61 72 72 61 6e |f implie|d warran|
|00000d20| 74 69 65 73 20 6f 72 20 | 6c 69 61 62 69 6c 69 74 |ties or |liabilit|
|00000d30| 79 20 66 6f 72 20 69 6e | 63 69 64 65 6e 74 61 6c |y for in|cidental|
|00000d40| 20 6f 72 20 63 6f 6e 73 | 65 71 75 65 6e 74 69 61 | or cons|equentia|
|00000d50| 6c 20 64 61 6d 61 67 65 | 73 2c 20 73 6f 20 74 68 |l damage|s, so th|
|00000d60| 65 20 61 62 6f 76 65 20 | 6c 69 6d 69 74 61 74 69 |e above |limitati|
|00000d70| 6f 6e 20 6f 72 20 65 78 | 63 6c 75 73 69 6f 6e 20 |on or ex|clusion |
|00000d80| 6d 61 79 20 6e 6f 74 20 | 61 70 70 6c 79 20 74 6f |may not |apply to|
|00000d90| 20 79 6f 75 2e 20 54 68 | 69 73 20 77 61 72 72 61 | you. Th|is warra|
|00000da0| 6e 74 79 20 67 69 76 65 | 73 20 79 6f 75 20 73 70 |nty give|s you sp|
|00000db0| 65 63 69 66 69 63 20 6c | 65 67 61 6c 20 72 69 67 |ecific l|egal rig|
|00000dc0| 68 74 73 2c 20 61 6e 64 | 20 79 6f 75 20 6d 61 79 |hts, and| you may|
|00000dd0| 20 61 6c 73 6f 20 68 61 | 76 65 20 6f 74 68 65 72 | also ha|ve other|
|00000de0| 20 72 69 67 68 74 73 20 | 77 68 69 63 68 20 76 61 | rights |which va|
|00000df0| 72 79 20 66 72 6f 6d 20 | 73 74 61 74 65 20 74 6f |ry from |state to|
|00000e00| 20 73 74 61 74 65 2e 0d | 49 53 42 4e 20 30 2d 32 | state..|ISBN 0-2|
|00000e10| 30 31 2d 36 32 32 37 31 | 2d 38 0d 31 20 32 20 33 |01-62271|-8.1 2 3|
|00000e20| 20 34 20 35 20 36 20 37 | 20 38 20 39 2d 43 52 57 | 4 5 6 7| 8 9-CRW|
|00000e30| 2d 39 38 39 37 39 36 39 | 35 39 34 0d 46 69 72 73 |-9897969|594.Firs|
|00000e40| 74 20 50 72 69 6e 74 69 | 6e 67 2c 20 4a 75 6c 79 |t Printi|ng, July|
|00000e50| 20 31 39 39 34 0d 4c 69 | 62 72 61 72 79 20 6f 66 | 1994.Li|brary of|
|00000e60| 20 43 6f 6e 67 72 65 73 | 73 20 43 61 74 61 6c 6f | Congres|s Catalo|
|00000e70| 67 69 6e 67 2d 69 6e 2d | 50 75 62 6c 69 63 61 74 |ging-in-|Publicat|
|00000e80| 69 6f 6e 20 44 61 74 61 | 0d 49 6e 73 69 64 65 20 |ion Data|.Inside |
|00000e90| 4d 61 63 69 6e 74 6f 73 | 68 20 2f 20 5b 41 70 70 |Macintos|h / [App|
|00000ea0| 6c 65 20 43 6f 6d 70 75 | 74 65 72 2c 20 49 6e 63 |le Compu|ter, Inc|
|00000eb0| 2e 5d 2e 0d 09 70 2e 14 | 63 6d 2e 0d 49 6e 63 6c |.]...p..|cm..Incl|
|00000ec0| 75 64 65 73 20 69 6e 64 | 65 78 2e 0d 49 53 42 4e |udes ind|ex..ISBN|
|00000ed0| 20 30 2d 32 30 31 2d 36 | 32 32 37 31 2d 38 0d 31 | 0-201-6|2271-8.1|
|00000ee0| 2e 20 4d 61 63 69 6e 74 | 6f 73 68 20 28 43 6f 6d |. Macint|osh (Com|
|00000ef0| 70 75 74 65 72 29 14 32 | 2e 20 44 65 76 69 63 65 |puter).2|. Device|
|00000f00| 20 64 72 69 76 65 72 73 | 20 28 43 6f 6d 70 75 74 | drivers| (Comput|
|00000f10| 65 72 20 70 72 6f 67 72 | 61 6d 73 29 0d 49 2e 20 |er progr|ams).I. |
|00000f20| 41 70 70 6c 65 20 43 6f | 6d 70 75 74 65 72 2c 20 |Apple Co|mputer, |
|00000f30| 49 6e 63 2e 0d 51 41 37 | 36 2e 38 2e 4d 33 49 34 |Inc..QA7|6.8.M3I4|
|00000f40| 33 14 31 39 39 34 0d 30 | 30 35 2e 37 d5 20 31 32 |3.1994.0|05.7. 12|
|00000f50| 36 35 d1 64 63 32 30 09 | 39 34 2d 31 38 34 32 36 |65.dc20.|94-18426|
|00000f60| 0d 43 49 50 0d 43 6f 6e | 74 65 6e 74 73 0d 46 69 |.CIP.Con|tents.Fi|
|00000f70| 67 75 72 65 73 2c 20 54 | 61 62 6c 65 73 2c 20 61 |gures, T|ables, a|
|00000f80| 6e 64 20 4c 69 73 74 69 | 6e 67 73 14 14 78 69 69 |nd Listi|ngs..xii|
|00000f90| 69 0d 0d 0d 50 72 65 66 | 61 63 65 09 41 62 6f 75 |i...Pref|ace.Abou|
|00000fa0| 74 20 54 68 69 73 20 42 | 6f 6f 6b 14 14 78 76 69 |t This B|ook..xvi|
|00000fb0| 69 0d 0d 46 6f 72 6d 61 | 74 20 6f 66 20 61 20 54 |i..Forma|t of a T|
|00000fc0| 79 70 69 63 61 6c 20 43 | 68 61 70 74 65 72 14 14 |ypical C|hapter..|
|00000fd0| 78 76 69 69 0d 43 6f 6e | 76 65 6e 74 69 6f 6e 73 |xvii.Con|ventions|
|00000fe0| 20 55 73 65 64 20 69 6e | 20 54 68 69 73 20 42 6f | Used in| This Bo|
|00000ff0| 6f 6b 14 14 78 76 69 69 | 69 0d 53 70 65 63 69 61 |ok..xvii|i.Specia|
|00001000| 6c 20 46 6f 6e 74 73 14 | 14 78 76 69 69 69 0d 54 |l Fonts.|.xviii.T|
|00001010| 79 70 65 73 20 6f 66 20 | 4e 6f 74 65 73 14 14 78 |ypes of |Notes..x|
|00001020| 76 69 69 69 0d 41 73 73 | 65 6d 62 6c 79 2d 4c 61 |viii.Ass|embly-La|
|00001030| 6e 67 75 61 67 65 20 49 | 6e 66 6f 72 6d 61 74 69 |nguage I|nformati|
|00001040| 6f 6e 14 14 78 76 69 69 | 69 0d 44 65 76 65 6c 6f |on..xvii|i.Develo|
|00001050| 70 6d 65 6e 74 20 45 6e | 76 69 72 6f 6e 6d 65 6e |pment En|vironmen|
|00001060| 74 14 14 78 69 78 0d 46 | 6f 72 20 4d 6f 72 65 20 |t..xix.F|or More |
|00001070| 49 6e 66 6f 72 6d 61 74 | 69 6f 6e 14 14 78 78 0d |Informat|ion..xx.|
|00001080| 0d 43 68 61 70 74 65 72 | 20 31 09 44 65 76 69 63 |.Chapter| 1.Devic|
|00001090| 65 20 4d 61 6e 61 67 65 | 72 14 14 31 2d 31 0d 0d |e Manage|r..1-1..|
|000010a0| 49 6e 74 72 6f 64 75 63 | 74 69 6f 6e 20 74 6f 20 |Introduc|tion to |
|000010b0| 44 65 76 69 63 65 73 20 | 61 6e 64 20 44 72 69 76 |Devices |and Driv|
|000010c0| 65 72 73 14 14 31 2d 33 | 0d 41 62 6f 75 74 20 74 |ers..1-3|.About t|
|000010d0| 68 65 20 44 65 76 69 63 | 65 20 4d 61 6e 61 67 65 |he Devic|e Manage|
|000010e0| 72 14 14 31 2d 35 0d 54 | 68 65 20 44 65 76 69 63 |r..1-5.T|he Devic|
|000010f0| 65 20 43 6f 6e 74 72 6f | 6c 20 45 6e 74 72 79 14 |e Contro|l Entry.|
|00001100| 14 31 2d 36 0d 54 68 65 | 20 55 6e 69 74 20 54 61 |.1-6.The| Unit Ta|
|00001110| 62 6c 65 14 14 31 2d 38 | 0d 54 68 65 20 44 72 69 |ble..1-8|.The Dri|
|00001120| 76 65 72 20 49 2f 4f 20 | 51 75 65 75 65 14 14 31 |ver I/O |Queue..1|
|00001130| 2d 31 30 0d 44 72 69 76 | 65 72 20 52 6f 75 74 69 |-10.Driv|er Routi|
|00001140| 6e 65 73 14 14 31 2d 31 | 32 0d 44 72 69 76 65 72 |nes..1-1|2.Driver|
|00001150| 20 52 65 73 6f 75 72 63 | 65 73 14 14 31 2d 31 32 | Resourc|es..1-12|
|00001160| 0d 55 73 69 6e 67 20 74 | 68 65 20 44 65 76 69 63 |.Using t|he Devic|
|00001170| 65 20 4d 61 6e 61 67 65 | 72 14 14 31 2d 31 34 0d |e Manage|r..1-14.|
|00001180| 4f 70 65 6e 69 6e 67 20 | 61 6e 64 20 43 6c 6f 73 |Opening |and Clos|
|00001190| 69 6e 67 20 44 65 76 69 | 63 65 20 44 72 69 76 65 |ing Devi|ce Drive|
|000011a0| 72 73 14 14 31 2d 31 38 | 0d 43 6f 6d 6d 75 6e 69 |rs..1-18|.Communi|
|000011b0| 63 61 74 69 6e 67 20 57 | 69 74 68 20 44 65 76 69 |cating W|ith Devi|
|000011c0| 63 65 20 44 72 69 76 65 | 72 73 14 14 31 2d 32 30 |ce Drive|rs..1-20|
|000011d0| 0d 43 6f 6e 74 72 6f 6c | 6c 69 6e 67 20 61 6e 64 |.Control|ling and|
|000011e0| 20 4d 6f 6e 69 74 6f 72 | 69 6e 67 20 44 65 76 69 | Monitor|ing Devi|
|000011f0| 63 65 20 44 72 69 76 65 | 72 73 14 14 31 2d 32 32 |ce Drive|rs..1-22|
|00001200| 0d 57 72 69 74 69 6e 67 | 20 61 20 44 65 76 69 63 |.Writing| a Devic|
|00001210| 65 20 44 72 69 76 65 72 | 14 14 31 2d 32 34 0d 43 |e Driver|..1-24.C|
|00001220| 72 65 61 74 69 6e 67 20 | 61 20 44 72 69 76 65 72 |reating |a Driver|
|00001230| 20 52 65 73 6f 75 72 63 | 65 14 14 31 2d 32 34 0d | Resourc|e..1-24.|
|00001240| 52 65 73 70 6f 6e 64 69 | 6e 67 20 74 6f 20 74 68 |Respondi|ng to th|
|00001250| 65 20 44 65 76 69 63 65 | 20 4d 61 6e 61 67 65 72 |e Device| Manager|
|00001260| 14 14 31 2d 32 38 0d 45 | 6e 74 65 72 69 6e 67 20 |..1-28.E|ntering |
|00001270| 61 6e 64 20 45 78 69 74 | 69 6e 67 20 46 72 6f 6d |and Exit|ing From|
|00001280| 20 44 72 69 76 65 72 20 | 52 6f 75 74 69 6e 65 73 | Driver |Routines|
|00001290| 14 14 31 2d 32 39 0d 57 | 72 69 74 69 6e 67 20 4f |..1-29.W|riting O|
|000012a0| 70 65 6e 20 61 6e 64 20 | 43 6c 6f 73 65 20 52 6f |pen and |Close Ro|
|000012b0| 75 74 69 6e 65 73 14 14 | 31 2d 33 31 0d 57 72 69 |utines..|1-31.Wri|
|000012c0| 74 69 6e 67 20 61 20 50 | 72 69 6d 65 20 52 6f 75 |ting a P|rime Rou|
|000012d0| 74 69 6e 65 14 14 31 2d | 33 33 0d 57 72 69 74 69 |tine..1-|33.Writi|
|000012e0| 6e 67 20 43 6f 6e 74 72 | 6f 6c 20 61 6e 64 20 53 |ng Contr|ol and S|
|000012f0| 74 61 74 75 73 20 52 6f | 75 74 69 6e 65 73 14 14 |tatus Ro|utines..|
|00001300| 31 2d 33 34 0d 48 61 6e | 64 6c 69 6e 67 20 41 73 |1-34.Han|dling As|
|00001310| 79 6e 63 68 72 6f 6e 6f | 75 73 20 49 2f 4f 14 14 |ynchrono|us I/O..|
|00001320| 31 2d 33 37 0d 49 6e 73 | 74 61 6c 6c 69 6e 67 20 |1-37.Ins|talling |
|00001330| 61 20 44 65 76 69 63 65 | 20 44 72 69 76 65 72 14 |a Device| Driver.|
|00001340| 14 31 2d 33 38 0d 57 72 | 69 74 69 6e 67 20 61 20 |.1-38.Wr|iting a |
|00001350| 43 68 6f 6f 73 65 72 2d | 43 6f 6d 70 61 74 69 62 |Chooser-|Compatib|
|00001360| 6c 65 20 44 65 76 69 63 | 65 20 44 72 69 76 65 72 |le Devic|e Driver|
|00001370| 14 14 31 2d 34 30 0d 48 | 6f 77 20 74 68 65 20 43 |..1-40.H|ow the C|
|00001380| 68 6f 6f 73 65 72 20 57 | 6f 72 6b 73 14 14 31 2d |hooser W|orks..1-|
|00001390| 34 30 0d 43 72 65 61 74 | 69 6e 67 20 61 20 43 68 |40.Creat|ing a Ch|
|000013a0| 6f 6f 73 65 72 20 45 78 | 74 65 6e 73 69 6f 6e 20 |ooser Ex|tension |
|000013b0| 46 69 6c 65 14 14 31 2d | 34 33 0d 43 72 65 61 74 |File..1-|43.Creat|
|000013c0| 69 6e 67 20 61 20 44 65 | 76 69 63 65 20 50 61 63 |ing a De|vice Pac|
|000013d0| 6b 61 67 65 14 14 31 2d | 34 35 0d 52 65 73 70 6f |kage..1-|45.Respo|
|000013e0| 6e 64 69 6e 67 20 74 6f | 20 74 68 65 20 43 68 6f |nding to| the Cho|
|000013f0| 6f 73 65 72 14 14 31 2d | 34 36 0d 41 6c 6c 6f 63 |oser..1-|46.Alloc|
|00001400| 61 74 69 6e 67 20 50 72 | 69 76 61 74 65 20 53 74 |ating Pr|ivate St|
|00001410| 6f 72 61 67 65 14 14 31 | 2d 34 38 0d 57 72 69 74 |orage..1|-48.Writ|
|00001420| 69 6e 67 20 61 20 44 65 | 73 6b 20 41 63 63 65 73 |ing a De|sk Acces|
|00001430| 73 6f 72 79 14 14 31 2d | 34 39 0d 48 6f 77 20 44 |sory..1-|49.How D|
|00001440| 65 73 6b 20 41 63 63 65 | 73 73 6f 72 69 65 73 20 |esk Acce|ssories |
|00001450| 57 6f 72 6b 14 14 31 2d | 34 39 0d 43 72 65 61 74 |Work..1-|49.Creat|
|00001460| 69 6e 67 20 61 20 44 72 | 69 76 65 72 20 52 65 73 |ing a Dr|iver Res|
|00001470| 6f 75 72 63 65 20 66 6f | 72 20 61 20 44 65 73 6b |ource fo|r a Desk|
|00001480| 20 41 63 63 65 73 73 6f | 72 79 14 14 31 2d 35 30 | Accesso|ry..1-50|
|00001490| 0d 4f 70 65 6e 69 6e 67 | 20 61 6e 64 20 43 6c 6f |.Opening| and Clo|
|000014a0| 73 69 6e 67 20 61 20 44 | 65 73 6b 20 41 63 63 65 |sing a D|esk Acce|
|000014b0| 73 73 6f 72 79 14 14 31 | 2d 35 31 0d 52 65 73 70 |ssory..1|-51.Resp|
|000014c0| 6f 6e 64 69 6e 67 20 74 | 6f 20 45 76 65 6e 74 73 |onding t|o Events|
|000014d0| 14 14 31 2d 35 31 0d 44 | 65 76 69 63 65 20 4d 61 |..1-51.D|evice Ma|
|000014e0| 6e 61 67 65 72 20 52 65 | 66 65 72 65 6e 63 65 14 |nager Re|ference.|
|000014f0| 14 31 2d 35 33 0d 44 61 | 74 61 20 53 74 72 75 63 |.1-53.Da|ta Struc|
|00001500| 74 75 72 65 73 14 14 31 | 2d 35 33 0d 44 65 76 69 |tures..1|-53.Devi|
|00001510| 63 65 20 4d 61 6e 61 67 | 65 72 20 50 61 72 61 6d |ce Manag|er Param|
|00001520| 65 74 65 72 20 42 6c 6f | 63 6b 14 14 31 2d 35 33 |eter Blo|ck..1-53|
|00001530| 0d 44 65 76 69 63 65 20 | 43 6f 6e 74 72 6f 6c 20 |.Device |Control |
|00001540| 45 6e 74 72 79 14 14 31 | 2d 35 36 0d 44 65 76 69 |Entry..1|-56.Devi|
|00001550| 63 65 20 4d 61 6e 61 67 | 65 72 20 46 75 6e 63 74 |ce Manag|er Funct|
|00001560| 69 6f 6e 73 14 14 31 2d | 35 38 0d 4f 70 65 6e 69 |ions..1-|58.Openi|
|00001570| 6e 67 20 61 6e 64 20 43 | 6c 6f 73 69 6e 67 20 44 |ng and C|losing D|
|00001580| 65 76 69 63 65 20 44 72 | 69 76 65 72 73 14 14 31 |evice Dr|ivers..1|
|00001590| 2d 35 39 0d 43 6f 6d 6d | 75 6e 69 63 61 74 69 6e |-59.Comm|unicatin|
|000015a0| 67 20 57 69 74 68 20 44 | 65 76 69 63 65 20 44 72 |g With D|evice Dr|
|000015b0| 69 76 65 72 73 14 14 31 | 2d 36 39 0d 43 6f 6e 74 |ivers..1|-69.Cont|
|000015c0| 72 6f 6c 6c 69 6e 67 20 | 61 6e 64 20 4d 6f 6e 69 |rolling |and Moni|
|000015d0| 74 6f 72 69 6e 67 20 44 | 65 76 69 63 65 20 44 72 |toring D|evice Dr|
|000015e0| 69 76 65 72 73 14 14 31 | 2d 37 35 0d 57 72 69 74 |ivers..1|-75.Writ|
|000015f0| 69 6e 67 20 61 6e 64 20 | 49 6e 73 74 61 6c 6c 69 |ing and |Installi|
|00001600| 6e 67 20 44 65 76 69 63 | 65 20 44 72 69 76 65 72 |ng Devic|e Driver|
|00001610| 73 14 14 31 2d 38 32 0d | 52 65 73 6f 75 72 63 65 |s..1-82.|Resource|
|00001620| 73 14 14 31 2d 38 39 0d | 54 68 65 20 44 72 69 76 |s..1-89.|The Driv|
|00001630| 65 72 20 52 65 73 6f 75 | 72 63 65 14 14 31 2d 38 |er Resou|rce..1-8|
|00001640| 39 0d 53 75 6d 6d 61 72 | 79 20 6f 66 20 74 68 65 |9.Summar|y of the|
|00001650| 20 44 65 76 69 63 65 20 | 4d 61 6e 61 67 65 72 14 | Device |Manager.|
|00001660| 14 31 2d 39 31 0d 43 20 | 53 75 6d 6d 61 72 79 14 |.1-91.C |Summary.|
|00001670| 14 31 2d 39 31 0d 43 6f | 6e 73 74 61 6e 74 73 14 |.1-91.Co|nstants.|
|00001680| 14 31 2d 39 31 0d 44 61 | 74 61 20 54 79 70 65 73 |.1-91.Da|ta Types|
|00001690| 14 14 31 2d 39 32 0d 46 | 75 6e 63 74 69 6f 6e 73 |..1-92.F|unctions|
|000016a0| 14 14 31 2d 39 34 0d 50 | 61 73 63 61 6c 20 53 75 |..1-94.P|ascal Su|
|000016b0| 6d 6d 61 72 79 14 14 31 | 2d 39 35 0d 43 6f 6e 73 |mmary..1|-95.Cons|
|000016c0| 74 61 6e 74 73 14 14 31 | 2d 39 35 0d 44 61 74 61 |tants..1|-95.Data|
|000016d0| 20 54 79 70 65 73 14 14 | 31 2d 39 37 0d 52 6f 75 | Types..|1-97.Rou|
|000016e0| 74 69 6e 65 73 14 14 31 | 2d 39 38 0d 41 73 73 65 |tines..1|-98.Asse|
|000016f0| 6d 62 6c 79 2d 4c 61 6e | 67 75 61 67 65 20 53 75 |mbly-Lan|guage Su|
|00001700| 6d 6d 61 72 79 14 14 31 | 2d 39 39 0d 44 61 74 61 |mmary..1|-99.Data|
|00001710| 20 53 74 72 75 63 74 75 | 72 65 73 14 14 31 2d 39 | Structu|res..1-9|
|00001720| 39 0d 54 72 61 70 20 4d | 61 63 72 6f 73 14 14 31 |9.Trap M|acros..1|
|00001730| 2d 31 30 30 0d 52 65 73 | 75 6c 74 20 43 6f 64 65 |-100.Res|ult Code|
|00001740| 73 14 14 31 2d 31 30 31 | 0d 0d 43 68 61 70 74 65 |s..1-101|..Chapte|
|00001750| 72 20 32 09 53 6c 6f 74 | 20 4d 61 6e 61 67 65 72 |r 2.Slot| Manager|
|00001760| 14 14 32 2d 31 0d 0d 49 | 6e 74 72 6f 64 75 63 74 |..2-1..I|ntroduct|
|00001770| 69 6f 6e 20 74 6f 20 53 | 6c 6f 74 73 20 61 6e 64 |ion to S|lots and|
|00001780| 20 43 61 72 64 73 14 14 | 32 2d 33 0d 53 6c 6f 74 | Cards..|2-3.Slot|
|00001790| 20 41 64 64 72 65 73 73 | 20 41 6c 6c 6f 63 61 74 | Address| Allocat|
|000017a0| 69 6f 6e 73 14 14 32 2d | 35 0d 46 69 72 6d 77 61 |ions..2-|5.Firmwa|
|000017b0| 72 65 14 14 32 2d 37 0d | 54 68 65 20 73 52 65 73 |re..2-7.|The sRes|
|000017c0| 6f 75 72 63 65 14 14 32 | 2d 37 0d 54 79 70 65 20 |ource..2|-7.Type |
|000017d0| 61 6e 64 20 4e 61 6d 65 | 20 45 6e 74 72 69 65 73 |and Name| Entries|
|000017e0| 14 14 32 2d 39 0d 54 68 | 65 20 42 6f 61 72 64 20 |..2-9.Th|e Board |
|000017f0| 73 52 65 73 6f 75 72 63 | 65 20 61 6e 64 20 46 75 |sResourc|e and Fu|
|00001800| 6e 63 74 69 6f 6e 61 6c | 20 73 52 65 73 6f 75 72 |nctional| sResour|
|00001810| 63 65 73 14 14 32 2d 31 | 31 0d 54 68 65 20 73 52 |ces..2-1|1.The sR|
|00001820| 65 73 6f 75 72 63 65 20 | 44 69 72 65 63 74 6f 72 |esource |Director|
|00001830| 79 14 14 32 2d 31 32 0d | 54 68 65 20 46 6f 72 6d |y..2-12.|The Form|
|00001840| 61 74 20 42 6c 6f 63 6b | 14 14 32 2d 31 33 0d 41 |at Block|..2-13.A|
|00001850| 62 6f 75 74 20 74 68 65 | 20 53 6c 6f 74 20 4d 61 |bout the| Slot Ma|
|00001860| 6e 61 67 65 72 14 14 32 | 2d 31 35 0d 55 73 69 6e |nager..2|-15.Usin|
|00001870| 67 20 74 68 65 20 53 6c | 6f 74 20 4d 61 6e 61 67 |g the Sl|ot Manag|
|00001880| 65 72 14 14 32 2d 31 36 | 0d 45 6e 61 62 6c 69 6e |er..2-16|.Enablin|
|00001890| 67 20 61 6e 64 20 44 69 | 73 61 62 6c 69 6e 67 20 |g and Di|sabling |
|000018a0| 4e 75 42 75 73 20 43 61 | 72 64 73 14 14 32 2d 31 |NuBus Ca|rds..2-1|
|000018b0| 37 0d 44 65 6c 65 74 69 | 6e 67 20 61 6e 64 20 52 |7.Deleti|ng and R|
|000018c0| 65 73 74 6f 72 69 6e 67 | 20 73 52 65 73 6f 75 72 |estoring| sResour|
|000018d0| 63 65 73 14 14 32 2d 31 | 37 0d 45 6e 61 62 6c 69 |ces..2-1|7.Enabli|
|000018e0| 6e 67 20 61 6e 64 20 44 | 69 73 61 62 6c 69 6e 67 |ng and D|isabling|
|000018f0| 20 73 52 65 73 6f 75 72 | 63 65 73 14 14 32 2d 31 | sResour|ces..2-1|
|00001900| 38 0d 53 65 61 72 63 68 | 69 6e 67 20 66 6f 72 20 |8.Search|ing for |
|00001910| 73 52 65 73 6f 75 72 63 | 65 73 14 14 32 2d 31 39 |sResourc|es..2-19|
|00001920| 0d 4f 62 74 61 69 6e 69 | 6e 67 20 49 6e 66 6f 72 |.Obtaini|ng Infor|
|00001930| 6d 61 74 69 6f 6e 20 46 | 72 6f 6d 20 73 52 65 73 |mation F|rom sRes|
|00001940| 6f 75 72 63 65 73 14 14 | 32 2d 32 30 0d 49 6e 73 |ources..|2-20.Ins|
|00001950| 74 61 6c 6c 69 6e 67 20 | 61 6e 64 20 52 65 6d 6f |talling |and Remo|
|00001960| 76 69 6e 67 20 53 6c 6f | 74 20 49 6e 74 65 72 72 |ving Slo|t Interr|
|00001970| 75 70 74 20 48 61 6e 64 | 6c 65 72 73 14 14 32 2d |upt Hand|lers..2-|
|00001980| 32 32 0d 53 6c 6f 74 20 | 4d 61 6e 61 67 65 72 20 |22.Slot |Manager |
|00001990| 52 65 66 65 72 65 6e 63 | 65 14 14 32 2d 32 32 0d |Referenc|e..2-22.|
|000019a0| 44 61 74 61 20 53 74 72 | 75 63 74 75 72 65 73 14 |Data Str|uctures.|
|000019b0| 14 32 2d 32 32 0d 53 6c | 6f 74 20 4d 61 6e 61 67 |.2-22.Sl|ot Manag|
|000019c0| 65 72 20 50 61 72 61 6d | 65 74 65 72 20 42 6c 6f |er Param|eter Blo|
|000019d0| 63 6b 14 14 32 2d 32 33 | 0d 53 6c 6f 74 20 49 6e |ck..2-23|.Slot In|
|000019e0| 66 6f 72 6d 61 74 69 6f | 6e 20 52 65 63 6f 72 64 |formatio|n Record|
|000019f0| 14 14 32 2d 32 34 0d 46 | 6f 72 6d 61 74 20 48 65 |..2-24.F|ormat He|
|00001a00| 61 64 65 72 20 52 65 63 | 6f 72 64 14 14 32 2d 32 |ader Rec|ord..2-2|
|00001a10| 36 0d 53 6c 6f 74 20 50 | 61 72 61 6d 65 74 65 72 |6.Slot P|arameter|
|00001a20| 20 52 41 4d 20 52 65 63 | 6f 72 64 14 14 32 2d 32 | RAM Rec|ord..2-2|
|00001a30| 37 0d 53 6c 6f 74 20 45 | 78 65 63 75 74 69 6f 6e |7.Slot E|xecution|
|00001a40| 20 50 61 72 61 6d 65 74 | 65 72 20 42 6c 6f 63 6b | Paramet|er Block|
|00001a50| 14 14 32 2d 32 37 0d 53 | 6c 6f 74 20 49 6e 74 65 |..2-27.S|lot Inte|
|00001a60| 72 72 75 70 74 20 51 75 | 65 75 65 20 45 6c 65 6d |rrupt Qu|eue Elem|
|00001a70| 65 6e 74 14 14 32 2d 32 | 38 0d 53 6c 6f 74 20 4d |ent..2-2|8.Slot M|
|00001a80| 61 6e 61 67 65 72 20 52 | 6f 75 74 69 6e 65 73 14 |anager R|outines.|
|00001a90| 14 32 2d 32 39 0d 44 65 | 74 65 72 6d 69 6e 69 6e |.2-29.De|terminin|
|00001aa0| 67 20 74 68 65 20 56 65 | 72 73 69 6f 6e 20 6f 66 |g the Ve|rsion of|
|00001ab0| 20 74 68 65 20 53 6c 6f | 74 20 4d 61 6e 61 67 65 | the Slo|t Manage|
|00001ac0| 72 14 14 32 2d 33 30 0d | 46 69 6e 64 69 6e 67 20 |r..2-30.|Finding |
|00001ad0| 73 52 65 73 6f 75 72 63 | 65 73 14 14 32 2d 33 31 |sResourc|es..2-31|
|00001ae0| 0d 47 65 74 74 69 6e 67 | 20 49 6e 66 6f 72 6d 61 |.Getting| Informa|
|00001af0| 74 69 6f 6e 20 46 72 6f | 6d 20 73 52 65 73 6f 75 |tion Fro|m sResou|
|00001b00| 72 63 65 73 14 14 32 2d | 34 30 0d 45 6e 61 62 6c |rces..2-|40.Enabl|
|00001b10| 69 6e 67 2c 20 44 69 73 | 61 62 6c 69 6e 67 2c 20 |ing, Dis|abling, |
|00001b20| 44 65 6c 65 74 69 6e 67 | 2c 20 61 6e 64 20 52 65 |Deleting|, and Re|
|00001b30| 73 74 6f 72 69 6e 67 20 | 73 52 65 73 6f 75 72 63 |storing |sResourc|
|00001b40| 65 73 14 14 32 2d 35 31 | 0d 4c 6f 61 64 69 6e 67 |es..2-51|.Loading|
|00001b50| 20 44 72 69 76 65 72 73 | 20 61 6e 64 20 45 78 65 | Drivers| and Exe|
|00001b60| 63 75 74 69 6e 67 20 43 | 6f 64 65 20 46 72 6f 6d |cuting C|ode From|
|00001b70| 20 73 52 65 73 6f 75 72 | 63 65 73 14 14 32 2d 35 | sResour|ces..2-5|
|00001b80| 38 0d 47 65 74 74 69 6e | 67 20 49 6e 66 6f 72 6d |8.Gettin|g Inform|
|00001b90| 61 74 69 6f 6e 20 41 62 | 6f 75 74 20 45 78 70 61 |ation Ab|out Expa|
|00001ba0| 6e 73 69 6f 6e 20 43 61 | 72 64 73 20 61 6e 64 20 |nsion Ca|rds and |
|00001bb0| 44 65 63 6c 61 72 61 74 | 69 6f 6e 20 52 4f 4d 73 |Declarat|ion ROMs|
|00001bc0| 14 14 32 2d 36 31 0d 41 | 63 63 65 73 73 69 6e 67 |..2-61.A|ccessing|
|00001bd0| 20 45 78 70 61 6e 73 69 | 6f 6e 20 43 61 72 64 20 | Expansi|on Card |
|00001be0| 50 61 72 61 6d 65 74 65 | 72 20 52 41 4d 14 14 32 |Paramete|r RAM..2|
|00001bf0| 2d 36 37 0d 4d 61 6e 61 | 67 69 6e 67 20 74 68 65 |-67.Mana|ging the|
|00001c00| 20 53 6c 6f 74 20 49 6e | 74 65 72 72 75 70 74 20 | Slot In|terrupt |
|00001c10| 51 75 65 75 65 14 14 32 | 2d 37 30 0d 4c 6f 77 2d |Queue..2|-70.Low-|
|00001c20| 4c 65 76 65 6c 20 52 6f | 75 74 69 6e 65 73 14 14 |Level Ro|utines..|
|00001c30| 32 2d 37 32 0d 53 75 6d | 6d 61 72 79 20 6f 66 20 |2-72.Sum|mary of |
|00001c40| 74 68 65 20 53 6c 6f 74 | 20 4d 61 6e 61 67 65 72 |the Slot| Manager|
|00001c50| 14 14 32 2d 38 37 0d 50 | 61 73 63 61 6c 20 53 75 |..2-87.P|ascal Su|
|00001c60| 6d 6d 61 72 79 14 14 32 | 2d 38 37 0d 43 6f 6e 73 |mmary..2|-87.Cons|
|00001c70| 74 61 6e 74 73 14 14 32 | 2d 38 37 0d 44 61 74 61 |tants..2|-87.Data|
|00001c80| 20 54 79 70 65 73 14 14 | 32 2d 38 37 0d 53 6c 6f | Types..|2-87.Slo|
|00001c90| 74 20 4d 61 6e 61 67 65 | 72 20 52 6f 75 74 69 6e |t Manage|r Routin|
|00001ca0| 65 73 14 14 32 2d 39 30 | 0d 4c 6f 77 2d 4c 65 76 |es..2-90|.Low-Lev|
|00001cb0| 65 6c 20 52 6f 75 74 69 | 6e 65 73 14 14 32 2d 39 |el Routi|nes..2-9|
|00001cc0| 31 0d 43 20 53 75 6d 6d | 61 72 79 14 14 32 2d 39 |1.C Summ|ary..2-9|
|00001cd0| 32 0d 43 6f 6e 73 74 61 | 6e 74 73 14 14 32 2d 39 |2.Consta|nts..2-9|
|00001ce0| 32 0d 44 61 74 61 20 54 | 79 70 65 73 14 14 32 2d |2.Data T|ypes..2-|
|00001cf0| 39 32 0d 53 6c 6f 74 20 | 4d 61 6e 61 67 65 72 20 |92.Slot |Manager |
|00001d00| 46 75 6e 63 74 69 6f 6e | 73 14 14 32 2d 39 34 0d |Function|s..2-94.|
|00001d10| 4c 6f 77 2d 4c 65 76 65 | 6c 20 46 75 6e 63 74 69 |Low-Leve|l Functi|
|00001d20| 6f 6e 73 14 14 32 2d 39 | 36 0d 41 73 73 65 6d 62 |ons..2-9|6.Assemb|
|00001d30| 6c 79 2d 4c 61 6e 67 75 | 61 67 65 20 53 75 6d 6d |ly-Langu|age Summ|
|00001d40| 61 72 79 14 14 32 2d 39 | 37 0d 44 61 74 61 20 53 |ary..2-9|7.Data S|
|00001d50| 74 72 75 63 74 75 72 65 | 73 14 14 32 2d 39 37 0d |tructure|s..2-97.|
|00001d60| 54 72 61 70 20 4d 61 63 | 72 6f 73 14 14 32 2d 39 |Trap Mac|ros..2-9|
|00001d70| 39 0d 52 65 73 75 6c 74 | 20 43 6f 64 65 73 14 14 |9.Result| Codes..|
|00001d80| 32 2d 31 30 30 0d 0d 43 | 68 61 70 74 65 72 20 33 |2-100..C|hapter 3|
|00001d90| 09 53 43 53 49 20 4d 61 | 6e 61 67 65 72 14 14 33 |.SCSI Ma|nager..3|
|00001da0| 2d 31 0d 0d 49 6e 74 72 | 6f 64 75 63 74 69 6f 6e |-1..Intr|oduction|
|00001db0| 20 74 6f 20 53 43 53 49 | 20 43 6f 6e 63 65 70 74 | to SCSI| Concept|
|00001dc0| 73 14 14 33 2d 33 0d 53 | 43 53 49 20 42 75 73 20 |s..3-3.S|CSI Bus |
|00001dd0| 53 69 67 6e 61 6c 73 14 | 14 33 2d 34 0d 53 43 53 |Signals.|.3-4.SCS|
|00001de0| 49 20 42 75 73 20 50 68 | 61 73 65 73 14 14 33 2d |I Bus Ph|ases..3-|
|00001df0| 35 0d 53 43 53 49 20 43 | 6f 6d 6d 61 6e 64 73 14 |5.SCSI C|ommands.|
|00001e00| 14 33 2d 37 0d 53 43 53 | 49 20 4d 65 73 73 61 67 |.3-7.SCS|I Messag|
|00001e10| 65 73 14 14 33 2d 37 0d | 53 43 53 49 20 48 61 6e |es..3-7.|SCSI Han|
|00001e20| 64 73 68 61 6b 69 6e 67 | 14 14 33 2d 37 0d 41 62 |dshaking|..3-7.Ab|
|00001e30| 6f 75 74 20 74 68 65 20 | 53 43 53 49 20 4d 61 6e |out the |SCSI Man|
|00001e40| 61 67 65 72 14 14 33 2d | 38 0d 43 6f 6e 66 6f 72 |ager..3-|8.Confor|
|00001e50| 6d 61 6e 63 65 20 57 69 | 74 68 20 74 68 65 20 53 |mance Wi|th the S|
|00001e60| 43 53 49 20 53 70 65 63 | 69 66 69 63 61 74 69 6f |CSI Spec|ificatio|
|00001e70| 6e 14 14 33 2d 39 0d 4f | 76 65 72 76 69 65 77 20 |n..3-9.O|verview |
|00001e80| 6f 66 20 53 43 53 49 20 | 4d 61 6e 61 67 65 72 20 |of SCSI |Manager |
|00001e90| 44 61 74 61 20 53 74 72 | 75 63 74 75 72 65 73 14 |Data Str|uctures.|
|00001ea0| 14 33 2d 31 30 0d 54 68 | 65 20 53 74 72 75 63 74 |.3-10.Th|e Struct|
|00001eb0| 75 72 65 20 6f 66 20 42 | 6c 6f 63 6b 20 44 65 76 |ure of B|lock Dev|
|00001ec0| 69 63 65 73 14 14 33 2d | 31 32 0d 54 68 65 20 44 |ices..3-|12.The D|
|00001ed0| 72 69 76 65 72 20 44 65 | 73 63 72 69 70 74 6f 72 |river De|scriptor|
|00001ee0| 20 52 65 63 6f 72 64 14 | 14 33 2d 31 32 0d 54 68 | Record.|.3-12.Th|
|00001ef0| 65 20 50 61 72 74 69 74 | 69 6f 6e 20 4d 61 70 14 |e Partit|ion Map.|
|00001f00| 14 33 2d 31 33 0d 55 73 | 69 6e 67 20 74 68 65 20 |.3-13.Us|ing the |
|00001f10| 53 43 53 49 20 4d 61 6e | 61 67 65 72 14 14 33 2d |SCSI Man|ager..3-|
|00001f20| 31 35 0d 52 65 61 64 69 | 6e 67 20 44 61 74 61 20 |15.Readi|ng Data |
|00001f30| 46 72 6f 6d 20 61 20 53 | 43 53 49 20 44 65 76 69 |From a S|CSI Devi|
|00001f40| 63 65 14 14 33 2d 31 35 | 0d 55 73 69 6e 67 20 43 |ce..3-15|.Using C|
|00001f50| 44 42 20 61 6e 64 20 54 | 49 42 20 53 74 72 75 63 |DB and T|IB Struc|
|00001f60| 74 75 72 65 73 14 14 33 | 2d 31 37 0d 55 73 69 6e |tures..3|-17.Usin|
|00001f70| 67 20 74 68 65 20 53 43 | 53 49 43 6f 6d 70 6c 65 |g the SC|SIComple|
|00001f80| 74 65 20 46 75 6e 63 74 | 69 6f 6e 14 14 33 2d 32 |te Funct|ion..3-2|
|00001f90| 31 0d 43 68 6f 6f 73 69 | 6e 67 20 50 6f 6c 6c 65 |1.Choosi|ng Polle|
|00001fa0| 64 20 6f 72 20 42 6c 69 | 6e 64 20 54 72 61 6e 73 |d or Bli|nd Trans|
|00001fb0| 66 65 72 73 14 14 33 2d | 32 32 0d 53 43 53 49 20 |fers..3-|22.SCSI |
|00001fc0| 4d 61 6e 61 67 65 72 20 | 52 65 66 65 72 65 6e 63 |Manager |Referenc|
|00001fd0| 65 14 14 33 2d 32 33 0d | 44 61 74 61 20 53 74 72 |e..3-23.|Data Str|
|00001fe0| 75 63 74 75 72 65 73 14 | 14 33 2d 32 33 0d 44 72 |uctures.|.3-23.Dr|
|00001ff0| 69 76 65 72 20 44 65 73 | 63 72 69 70 74 6f 72 20 |iver Des|criptor |
|00002000| 52 65 63 6f 72 64 14 14 | 33 2d 32 33 0d 50 61 72 |Record..|3-23.Par|
|00002010| 74 69 74 69 6f 6e 20 4d | 61 70 20 45 6e 74 72 79 |tition M|ap Entry|
|00002020| 20 52 65 63 6f 72 64 14 | 14 33 2d 32 35 0d 53 43 | Record.|.3-25.SC|
|00002030| 53 49 20 4d 61 6e 61 67 | 65 72 20 54 49 42 20 49 |SI Manag|er TIB I|
|00002040| 6e 73 74 72 75 63 74 69 | 6f 6e 73 14 14 33 2d 32 |nstructi|ons..3-2|
|00002050| 37 0d 53 43 53 49 20 4d | 61 6e 61 67 65 72 20 52 |7.SCSI M|anager R|
|00002060| 6f 75 74 69 6e 65 73 14 | 14 33 2d 33 31 0d 53 75 |outines.|.3-31.Su|
|00002070| 6d 6d 61 72 79 20 6f 66 | 20 74 68 65 20 53 43 53 |mmary of| the SCS|
|00002080| 49 20 4d 61 6e 61 67 65 | 72 14 14 33 2d 34 33 0d |I Manage|r..3-43.|
|00002090| 50 61 73 63 61 6c 20 53 | 75 6d 6d 61 72 79 14 14 |Pascal S|ummary..|
|000020a0| 33 2d 34 33 0d 43 6f 6e | 73 74 61 6e 74 73 14 14 |3-43.Con|stants..|
|000020b0| 33 2d 34 33 0d 44 61 74 | 61 20 54 79 70 65 73 14 |3-43.Dat|a Types.|
|000020c0| 14 33 2d 34 33 0d 52 6f | 75 74 69 6e 65 73 14 14 |.3-43.Ro|utines..|
|000020d0| 33 2d 34 34 0d 43 20 53 | 75 6d 6d 61 72 79 14 14 |3-44.C S|ummary..|
|000020e0| 33 2d 34 35 0d 43 6f 6e | 73 74 61 6e 74 73 14 14 |3-45.Con|stants..|
|000020f0| 33 2d 34 35 0d 44 61 74 | 61 20 54 79 70 65 73 14 |3-45.Dat|a Types.|
|00002100| 14 33 2d 34 35 0d 46 75 | 6e 63 74 69 6f 6e 73 14 |.3-45.Fu|nctions.|
|00002110| 14 33 2d 34 36 0d 41 73 | 73 65 6d 62 6c 79 2d 4c |.3-46.As|sembly-L|
|00002120| 61 6e 67 75 61 67 65 20 | 53 75 6d 6d 61 72 79 14 |anguage |Summary.|
|00002130| 14 33 2d 34 37 0d 44 61 | 74 61 20 53 74 72 75 63 |.3-47.Da|ta Struc|
|00002140| 74 75 72 65 73 14 14 33 | 2d 34 37 0d 54 72 61 70 |tures..3|-47.Trap|
|00002150| 20 4d 61 63 72 6f 73 14 | 14 33 2d 34 38 0d 52 65 | Macros.|.3-48.Re|
|00002160| 73 75 6c 74 20 43 6f 64 | 65 73 14 14 33 2d 34 38 |sult Cod|es..3-48|
|00002170| 0d 0d 43 68 61 70 74 65 | 72 20 34 09 53 43 53 49 |..Chapte|r 4.SCSI|
|00002180| 20 4d 61 6e 61 67 65 72 | 20 34 2e 33 14 14 34 2d | Manager| 4.3..4-|
|00002190| 31 0d 0d 41 62 6f 75 74 | 20 53 43 53 49 20 4d 61 |1..About| SCSI Ma|
|000021a0| 6e 61 67 65 72 20 34 2e | 33 14 14 34 2d 33 0d 54 |nager 4.|3..4-3.T|
|000021b0| 72 61 6e 73 70 6f 72 74 | 14 14 34 2d 35 0d 53 43 |ransport|..4-5.SC|
|000021c0| 53 49 20 49 6e 74 65 72 | 66 61 63 65 20 4d 6f 64 |SI Inter|face Mod|
|000021d0| 75 6c 65 73 14 14 34 2d | 36 0d 53 79 73 74 65 6d |ules..4-|6.System|
|000021e0| 20 50 65 72 66 6f 72 6d | 61 6e 63 65 14 14 34 2d | Perform|ance..4-|
|000021f0| 36 0d 43 6f 6d 70 61 74 | 69 62 69 6c 69 74 79 14 |6.Compat|ibility.|
|00002200| 14 34 2d 36 0d 55 73 69 | 6e 67 20 53 43 53 49 20 |.4-6.Usi|ng SCSI |
|00002210| 4d 61 6e 61 67 65 72 20 | 34 2e 33 14 14 34 2d 37 |Manager |4.3..4-7|
|00002220| 0d 4c 6f 63 61 74 69 6e | 67 20 53 43 53 49 20 44 |.Locatin|g SCSI D|
|00002230| 65 76 69 63 65 73 14 14 | 34 2d 38 0d 44 65 73 63 |evices..|4-8.Desc|
|00002240| 72 69 62 69 6e 67 20 44 | 61 74 61 20 42 75 66 66 |ribing D|ata Buff|
|00002250| 65 72 73 14 14 34 2d 39 | 0d 48 61 6e 64 73 68 61 |ers..4-9|.Handsha|
|00002260| 6b 69 6e 67 20 49 6e 73 | 74 72 75 63 74 69 6f 6e |king Ins|truction|
|00002270| 73 14 14 34 2d 39 0d 45 | 72 72 6f 72 20 52 65 63 |s..4-9.E|rror Rec|
|00002280| 6f 76 65 72 79 20 54 65 | 63 68 6e 69 71 75 65 73 |overy Te|chniques|
|00002290| 14 14 34 2d 31 30 0d 4f | 70 74 69 6f 6e 61 6c 20 |..4-10.O|ptional |
|000022a0| 46 65 61 74 75 72 65 73 | 14 14 34 2d 31 30 0d 57 |Features|..4-10.W|
|000022b0| 72 69 74 69 6e 67 20 61 | 20 53 43 53 49 20 44 65 |riting a| SCSI De|
|000022c0| 76 69 63 65 20 44 72 69 | 76 65 72 14 14 34 2d 31 |vice Dri|ver..4-1|
|000022d0| 31 0d 4c 6f 61 64 69 6e | 67 20 61 6e 64 20 49 6e |1.Loadin|g and In|
|000022e0| 69 74 69 61 6c 69 7a 69 | 6e 67 20 61 20 44 72 69 |itializi|ng a Dri|
|000022f0| 76 65 72 14 14 34 2d 31 | 31 0d 53 65 6c 65 63 74 |ver..4-1|1.Select|
|00002300| 69 6e 67 20 61 20 53 74 | 61 72 74 75 70 20 44 65 |ing a St|artup De|
|00002310| 76 69 63 65 14 14 34 2d | 31 32 0d 54 72 61 6e 73 |vice..4-|12.Trans|
|00002320| 69 74 69 6f 6e 73 20 42 | 65 74 77 65 65 6e 20 53 |itions B|etween S|
|00002330| 43 53 49 20 45 6e 76 69 | 72 6f 6e 6d 65 6e 74 73 |CSI Envi|ronments|
|00002340| 14 14 34 2d 31 32 0d 48 | 61 6e 64 6c 69 6e 67 20 |..4-12.H|andling |
|00002350| 41 73 79 6e 63 68 72 6f | 6e 6f 75 73 20 52 65 71 |Asynchro|nous Req|
|00002360| 75 65 73 74 73 14 14 34 | 2d 31 33 0d 48 61 6e 64 |uests..4|-13.Hand|
|00002370| 6c 69 6e 67 20 49 6d 6d | 65 64 69 61 74 65 20 52 |ling Imm|ediate R|
|00002380| 65 71 75 65 73 74 73 14 | 14 34 2d 31 33 0d 56 69 |equests.|.4-13.Vi|
|00002390| 72 74 75 61 6c 20 4d 65 | 6d 6f 72 79 20 43 6f 6d |rtual Me|mory Com|
|000023a0| 70 61 74 69 62 69 6c 69 | 74 79 14 14 34 2d 31 34 |patibili|ty..4-14|
|000023b0| 0d 57 72 69 74 69 6e 67 | 20 61 20 53 43 53 49 20 |.Writing| a SCSI |
|000023c0| 49 6e 74 65 72 66 61 63 | 65 20 4d 6f 64 75 6c 65 |Interfac|e Module|
|000023d0| 14 14 34 2d 31 35 0d 53 | 49 4d 20 49 6e 69 74 69 |..4-15.S|IM Initi|
|000023e0| 61 6c 69 7a 61 74 69 6f | 6e 20 61 6e 64 20 4f 70 |alizatio|n and Op|
|000023f0| 65 72 61 74 69 6f 6e 14 | 14 34 2d 31 35 0d 53 75 |eration.|.4-15.Su|
|00002400| 70 70 6f 72 74 69 6e 67 | 20 74 68 65 20 4f 72 69 |pporting| the Ori|
|00002410| 67 69 6e 61 6c 20 53 43 | 53 49 20 4d 61 6e 61 67 |ginal SC|SI Manag|
|00002420| 65 72 14 14 34 2d 31 36 | 0d 48 61 6e 64 73 68 61 |er..4-16|.Handsha|
|00002430| 6b 69 6e 67 20 6f 66 20 | 42 6c 69 6e 64 20 54 72 |king of |Blind Tr|
|00002440| 61 6e 73 66 65 72 73 14 | 14 34 2d 31 38 0d 53 75 |ansfers.|.4-18.Su|
|00002450| 70 70 6f 72 74 69 6e 67 | 20 44 4d 41 14 14 34 2d |pporting| DMA..4-|
|00002460| 31 38 0d 4c 6f 61 64 69 | 6e 67 20 44 72 69 76 65 |18.Loadi|ng Drive|
|00002470| 72 73 14 14 34 2d 31 38 | 0d 53 43 53 49 20 4d 61 |rs..4-18|.SCSI Ma|
|00002480| 6e 61 67 65 72 20 34 2e | 33 20 52 65 66 65 72 65 |nager 4.|3 Refere|
|00002490| 6e 63 65 14 14 34 2d 31 | 39 0d 44 61 74 61 20 53 |nce..4-1|9.Data S|
|000024a0| 74 72 75 63 74 75 72 65 | 73 14 14 34 2d 31 39 0d |tructure|s..4-19.|
|000024b0| 53 69 6d 70 6c 65 20 44 | 61 74 61 20 54 79 70 65 |Simple D|ata Type|
|000024c0| 73 14 14 34 2d 31 39 0d | 44 65 76 69 63 65 20 49 |s..4-19.|Device I|
|000024d0| 64 65 6e 74 69 66 69 63 | 61 74 69 6f 6e 20 52 65 |dentific|ation Re|
|000024e0| 63 6f 72 64 14 14 34 2d | 31 39 0d 43 6f 6d 6d 61 |cord..4-|19.Comma|
|000024f0| 6e 64 20 44 65 73 63 72 | 69 70 74 6f 72 20 42 6c |nd Descr|iptor Bl|
|00002500| 6f 63 6b 20 52 65 63 6f | 72 64 14 14 34 2d 32 30 |ock Reco|rd..4-20|
|00002510| 0d 53 63 61 74 74 65 72 | 2f 47 61 74 68 65 72 20 |.Scatter|/Gather |
|00002520| 4c 69 73 74 20 45 6c 65 | 6d 65 6e 74 14 14 34 2d |List Ele|ment..4-|
|00002530| 32 30 0d 53 43 53 49 20 | 4d 61 6e 61 67 65 72 20 |20.SCSI |Manager |
|00002540| 50 61 72 61 6d 65 74 65 | 72 20 42 6c 6f 63 6b 20 |Paramete|r Block |
|00002550| 48 65 61 64 65 72 14 14 | 34 2d 32 31 0d 53 43 53 |Header..|4-21.SCS|
|00002560| 49 20 49 2f 4f 20 50 61 | 72 61 6d 65 74 65 72 20 |I I/O Pa|rameter |
|00002570| 42 6c 6f 63 6b 14 14 34 | 2d 32 33 0d 53 43 53 49 |Block..4|-23.SCSI|
|00002580| 20 42 75 73 20 49 6e 71 | 75 69 72 79 20 50 61 72 | Bus Inq|uiry Par|
|00002590| 61 6d 65 74 65 72 20 42 | 6c 6f 63 6b 14 14 34 2d |ameter B|lock..4-|
|000025a0| 32 38 0d 53 43 53 49 20 | 41 62 6f 72 74 20 43 6f |28.SCSI |Abort Co|
|000025b0| 6d 6d 61 6e 64 20 50 61 | 72 61 6d 65 74 65 72 20 |mmand Pa|rameter |
|000025c0| 42 6c 6f 63 6b 14 14 34 | 2d 33 33 0d 53 43 53 49 |Block..4|-33.SCSI|
|000025d0| 20 54 65 72 6d 69 6e 61 | 74 65 20 49 2f 4f 20 50 | Termina|te I/O P|
|000025e0| 61 72 61 6d 65 74 65 72 | 20 42 6c 6f 63 6b 14 14 |arameter| Block..|
|000025f0| 34 2d 33 33 0d 53 43 53 | 49 20 56 69 72 74 75 61 |4-33.SCS|I Virtua|
|00002600| 6c 20 49 44 20 49 6e 66 | 6f 72 6d 61 74 69 6f 6e |l ID Inf|ormation|
|00002610| 20 50 61 72 61 6d 65 74 | 65 72 20 42 6c 6f 63 6b | Paramet|er Block|
|00002620| 14 14 34 2d 33 34 0d 53 | 43 53 49 20 4c 6f 61 64 |..4-34.S|CSI Load|
|00002630| 20 44 72 69 76 65 72 20 | 50 61 72 61 6d 65 74 65 | Driver |Paramete|
|00002640| 72 20 42 6c 6f 63 6b 14 | 14 34 2d 33 34 0d 53 43 |r Block.|.4-34.SC|
|00002650| 53 49 20 44 72 69 76 65 | 72 20 49 64 65 6e 74 69 |SI Drive|r Identi|
|00002660| 66 69 63 61 74 69 6f 6e | 20 50 61 72 61 6d 65 74 |fication| Paramet|
|00002670| 65 72 20 42 6c 6f 63 6b | 14 14 34 2d 33 35 0d 53 |er Block|..4-35.S|
|00002680| 49 4d 20 49 6e 69 74 69 | 61 6c 69 7a 61 74 69 6f |IM Initi|alizatio|
|00002690| 6e 20 52 65 63 6f 72 64 | 14 14 34 2d 33 36 0d 53 |n Record|..4-36.S|
|000026a0| 43 53 49 20 4d 61 6e 61 | 67 65 72 20 34 2e 33 20 |CSI Mana|ger 4.3 |
|000026b0| 46 75 6e 63 74 69 6f 6e | 73 14 14 34 2d 33 37 0d |Function|s..4-37.|
|000026c0| 43 6c 69 65 6e 74 20 46 | 75 6e 63 74 69 6f 6e 73 |Client F|unctions|
|000026d0| 14 14 34 2d 33 37 0d 53 | 49 4d 20 53 75 70 70 6f |..4-37.S|IM Suppo|
|000026e0| 72 74 20 46 75 6e 63 74 | 69 6f 6e 73 14 14 34 2d |rt Funct|ions..4-|
|000026f0| 35 34 0d 53 49 4d 20 49 | 6e 74 65 72 6e 61 6c 20 |54.SIM I|nternal |
|00002700| 46 75 6e 63 74 69 6f 6e | 73 14 14 34 2d 36 30 0d |Function|s..4-60.|
|00002710| 53 75 6d 6d 61 72 79 20 | 6f 66 20 53 43 53 49 20 |Summary |of SCSI |
|00002720| 4d 61 6e 61 67 65 72 20 | 34 2e 33 14 14 34 2d 36 |Manager |4.3..4-6|
|00002730| 35 0d 43 20 53 75 6d 6d | 61 72 79 14 14 34 2d 36 |5.C Summ|ary..4-6|
|00002740| 35 0d 43 6f 6e 73 74 61 | 6e 74 73 14 14 34 2d 36 |5.Consta|nts..4-6|
|00002750| 35 0d 44 61 74 61 20 54 | 79 70 65 73 14 14 34 2d |5.Data T|ypes..4-|
|00002760| 37 30 0d 46 75 6e 63 74 | 69 6f 6e 73 14 14 34 2d |70.Funct|ions..4-|
|00002770| 37 35 0d 50 61 73 63 61 | 6c 20 53 75 6d 6d 61 72 |75.Pasca|l Summar|
|00002780| 79 14 14 34 2d 37 35 0d | 43 6f 6e 73 74 61 6e 74 |y..4-75.|Constant|
|00002790| 73 14 14 34 2d 37 35 0d | 44 61 74 61 20 54 79 70 |s..4-75.|Data Typ|
|000027a0| 65 73 14 14 34 2d 37 39 | 0d 52 6f 75 74 69 6e 65 |es..4-79|.Routine|
|000027b0| 73 14 14 34 2d 38 35 0d | 41 73 73 65 6d 62 6c 79 |s..4-85.|Assembly|
|000027c0| 2d 4c 61 6e 67 75 61 67 | 65 20 53 75 6d 6d 61 72 |-Languag|e Summar|
|000027d0| 79 14 14 34 2d 38 36 0d | 44 61 74 61 20 53 74 72 |y..4-86.|Data Str|
|000027e0| 75 63 74 75 72 65 73 14 | 14 34 2d 38 36 0d 54 72 |uctures.|.4-86.Tr|
|000027f0| 61 70 20 4d 61 63 72 6f | 73 14 14 34 2d 38 39 0d |ap Macro|s..4-89.|
|00002800| 52 65 73 75 6c 74 20 43 | 6f 64 65 73 14 14 34 2d |Result C|odes..4-|
|00002810| 39 30 0d 0d 0d 43 68 61 | 70 74 65 72 20 35 09 41 |90...Cha|pter 5.A|
|00002820| 44 42 20 4d 61 6e 61 67 | 65 72 14 14 35 2d 31 0d |DB Manag|er..5-1.|
|00002830| 0d 41 62 6f 75 74 20 74 | 68 65 20 41 70 70 6c 65 |.About t|he Apple|
|00002840| 20 44 65 73 6b 74 6f 70 | 20 42 75 73 14 14 35 2d | Desktop| Bus..5-|
|00002850| 33 0d 43 68 61 72 61 63 | 74 65 72 69 73 74 69 63 |3.Charac|teristic|
|00002860| 73 20 6f 66 20 41 44 42 | 20 44 65 76 69 63 65 73 |s of ADB| Devices|
|00002870| 14 14 35 2d 33 0d 41 62 | 6f 75 74 20 74 68 65 20 |..5-3.Ab|out the |
|00002880| 41 44 42 20 4d 61 6e 61 | 67 65 72 14 14 35 2d 35 |ADB Mana|ger..5-5|
|00002890| 0d 41 44 42 20 43 6f 6d | 6d 61 6e 64 73 14 14 35 |.ADB Com|mands..5|
|000028a0| 2d 37 0d 41 44 42 20 54 | 72 61 6e 73 61 63 74 69 |-7.ADB T|ransacti|
|000028b0| 6f 6e 73 14 14 35 2d 39 | 0d 41 44 42 20 44 65 76 |ons..5-9|.ADB Dev|
|000028c0| 69 63 65 20 52 65 67 69 | 73 74 65 72 73 14 14 35 |ice Regi|sters..5|
|000028d0| 2d 39 0d 52 65 67 69 73 | 74 65 72 20 30 14 14 35 |-9.Regis|ter 0..5|
|000028e0| 2d 31 30 0d 52 65 67 69 | 73 74 65 72 20 33 14 14 |-10.Regi|ster 3..|
|000028f0| 35 2d 31 30 0d 44 65 66 | 61 75 6c 74 20 41 44 42 |5-10.Def|ault ADB|
|00002900| 20 44 65 76 69 63 65 20 | 41 64 64 72 65 73 73 20 | Device |Address |
|00002910| 61 6e 64 20 44 65 76 69 | 63 65 20 48 61 6e 64 6c |and Devi|ce Handl|
|00002920| 65 72 20 49 64 65 6e 74 | 69 66 69 63 61 74 69 6f |er Ident|ificatio|
|00002930| 6e 14 14 35 2d 31 31 0d | 41 44 42 20 44 65 76 69 |n..5-11.|ADB Devi|
|00002940| 63 65 20 54 61 62 6c 65 | 14 14 35 2d 31 33 0d 41 |ce Table|..5-13.A|
|00002950| 64 64 72 65 73 73 20 52 | 65 73 6f 6c 75 74 69 6f |ddress R|esolutio|
|00002960| 6e 14 14 35 2d 31 35 0d | 41 44 42 20 43 6f 6d 6d |n..5-15.|ADB Comm|
|00002970| 75 6e 69 63 61 74 69 6f | 6e 14 14 35 2d 31 37 0d |unicatio|n..5-17.|
|00002980| 55 73 69 6e 67 20 74 68 | 65 20 41 44 42 20 4d 61 |Using th|e ADB Ma|
|00002990| 6e 61 67 65 72 14 14 35 | 2d 32 32 0d 43 68 65 63 |nager..5|-22.Chec|
|000029a0| 6b 69 6e 67 20 66 6f 72 | 20 74 68 65 20 41 44 42 |king for| the ADB|
|000029b0| 20 4d 61 6e 61 67 65 72 | 14 14 35 2d 32 32 0d 47 | Manager|..5-22.G|
|000029c0| 65 74 74 69 6e 67 20 49 | 6e 66 6f 72 6d 61 74 69 |etting I|nformati|
|000029d0| 6f 6e 20 41 62 6f 75 74 | 20 41 44 42 20 44 65 76 |on About| ADB Dev|
|000029e0| 69 63 65 73 14 14 35 2d | 32 32 0d 43 6f 6d 6d 75 |ices..5-|22.Commu|
|000029f0| 6e 69 63 61 74 69 6e 67 | 20 57 69 74 68 20 41 44 |nicating| With AD|
|00002a00| 42 20 44 65 76 69 63 65 | 73 14 14 35 2d 32 34 0d |B Device|s..5-24.|
|00002a10| 57 72 69 74 69 6e 67 20 | 61 6e 20 41 44 42 20 44 |Writing |an ADB D|
|00002a20| 65 76 69 63 65 20 48 61 | 6e 64 6c 65 72 14 14 35 |evice Ha|ndler..5|
|00002a30| 2d 32 39 0d 49 6e 73 74 | 61 6c 6c 69 6e 67 20 61 |-29.Inst|alling a|
|00002a40| 6e 20 41 44 42 20 44 65 | 76 69 63 65 20 48 61 6e |n ADB De|vice Han|
|00002a50| 64 6c 65 72 14 14 35 2d | 33 30 0d 43 72 65 61 74 |dler..5-|30.Creat|
|00002a60| 69 6e 67 20 61 6e 20 41 | 44 42 20 44 65 76 69 63 |ing an A|DB Devic|
|00002a70| 65 20 48 61 6e 64 6c 65 | 72 14 14 35 2d 33 36 0d |e Handle|r..5-36.|
|00002a80| 41 44 42 20 4d 61 6e 61 | 67 65 72 20 52 65 66 65 |ADB Mana|ger Refe|
|00002a90| 72 65 6e 63 65 14 14 35 | 2d 33 37 0d 44 61 74 61 |rence..5|-37.Data|
|00002aa0| 20 53 74 72 75 63 74 75 | 72 65 73 14 14 35 2d 33 | Structu|res..5-3|
|00002ab0| 37 0d 41 44 42 20 44 61 | 74 61 20 42 6c 6f 63 6b |7.ADB Da|ta Block|
|00002ac0| 14 14 35 2d 33 37 0d 41 | 44 42 20 49 6e 66 6f 72 |..5-37.A|DB Infor|
|00002ad0| 6d 61 74 69 6f 6e 20 42 | 6c 6f 63 6b 14 14 35 2d |mation B|lock..5-|
|00002ae0| 33 38 0d 41 44 42 20 4f | 70 65 72 61 74 69 6f 6e |38.ADB O|peration|
|00002af0| 20 42 6c 6f 63 6b 14 14 | 35 2d 33 38 0d 41 44 42 | Block..|5-38.ADB|
|00002b00| 20 4d 61 6e 61 67 65 72 | 20 52 6f 75 74 69 6e 65 | Manager| Routine|
|00002b10| 73 14 14 35 2d 33 39 0d | 49 6e 69 74 69 61 6c 69 |s..5-39.|Initiali|
|00002b20| 7a 69 6e 67 20 74 68 65 | 20 41 44 42 20 4d 61 6e |zing the| ADB Man|
|00002b30| 61 67 65 72 14 14 35 2d | 33 39 0d 43 6f 6d 6d 75 |ager..5-|39.Commu|
|00002b40| 6e 69 63 61 74 69 6e 67 | 20 54 68 72 6f 75 67 68 |nicating| Through|
|00002b50| 20 74 68 65 20 41 44 42 | 14 14 35 2d 34 30 0d 47 | the ADB|..5-40.G|
|00002b60| 65 74 74 69 6e 67 20 41 | 44 42 20 44 65 76 69 63 |etting A|DB Devic|
|00002b70| 65 20 49 6e 66 6f 72 6d | 61 74 69 6f 6e 14 14 35 |e Inform|ation..5|
|00002b80| 2d 34 32 0d 53 65 74 74 | 69 6e 67 20 41 44 42 20 |-42.Sett|ing ADB |
|00002b90| 44 65 76 69 63 65 20 49 | 6e 66 6f 72 6d 61 74 69 |Device I|nformati|
|00002ba0| 6f 6e 14 14 35 2d 34 34 | 0d 41 70 70 6c 69 63 61 |on..5-44|.Applica|
|00002bb0| 74 69 6f 6e 2d 44 65 66 | 69 6e 65 64 20 52 6f 75 |tion-Def|ined Rou|
|00002bc0| 74 69 6e 65 73 14 14 35 | 2d 34 35 0d 41 44 42 20 |tines..5|-45.ADB |
|00002bd0| 44 65 76 69 63 65 20 48 | 61 6e 64 6c 65 72 73 14 |Device H|andlers.|
|00002be0| 14 35 2d 34 35 0d 41 44 | 42 20 43 6f 6d 6d 61 6e |.5-45.AD|B Comman|
|00002bf0| 64 20 43 6f 6d 70 6c 65 | 74 69 6f 6e 20 52 6f 75 |d Comple|tion Rou|
|00002c00| 74 69 6e 65 73 14 14 35 | 2d 34 37 0d 53 75 6d 6d |tines..5|-47.Summ|
|00002c10| 61 72 79 20 6f 66 20 74 | 68 65 20 41 44 42 20 4d |ary of t|he ADB M|
|00002c20| 61 6e 61 67 65 72 14 14 | 35 2d 34 38 0d 50 61 73 |anager..|5-48.Pas|
|00002c30| 63 61 6c 20 53 75 6d 6d | 61 72 79 14 14 35 2d 34 |cal Summ|ary..5-4|
|00002c40| 38 0d 44 61 74 61 20 54 | 79 70 65 73 14 14 35 2d |8.Data T|ypes..5-|
|00002c50| 34 38 0d 41 44 42 20 4d | 61 6e 61 67 65 72 20 52 |48.ADB M|anager R|
|00002c60| 6f 75 74 69 6e 65 73 14 | 14 35 2d 34 38 0d 41 70 |outines.|.5-48.Ap|
|00002c70| 70 6c 69 63 61 74 69 6f | 6e 2d 44 65 66 69 6e 65 |plicatio|n-Define|
|00002c80| 64 20 52 6f 75 74 69 6e | 65 73 14 14 35 2d 34 39 |d Routin|es..5-49|
|00002c90| 0d 43 20 53 75 6d 6d 61 | 72 79 14 14 35 2d 34 39 |.C Summa|ry..5-49|
|00002ca0| 0d 44 61 74 61 20 54 79 | 70 65 73 14 14 35 2d 34 |.Data Ty|pes..5-4|
|00002cb0| 39 0d 41 44 42 20 4d 61 | 6e 61 67 65 72 20 46 75 |9.ADB Ma|nager Fu|
|00002cc0| 6e 63 74 69 6f 6e 73 14 | 14 35 2d 35 30 0d 41 70 |nctions.|.5-50.Ap|
|00002cd0| 70 6c 69 63 61 74 69 6f | 6e 2d 44 65 66 69 6e 65 |plicatio|n-Define|
|00002ce0| 64 20 46 75 6e 63 74 69 | 6f 6e 73 14 14 35 2d 35 |d Functi|ons..5-5|
|00002cf0| 30 0d 41 73 73 65 6d 62 | 6c 79 2d 4c 61 6e 67 75 |0.Assemb|ly-Langu|
|00002d00| 61 67 65 20 53 75 6d 6d | 61 72 79 14 14 35 2d 35 |age Summ|ary..5-5|
|00002d10| 31 0d 44 61 74 61 20 53 | 74 72 75 63 74 75 72 65 |1.Data S|tructure|
|00002d20| 73 14 14 35 2d 35 31 0d | 54 72 61 70 20 4d 61 63 |s..5-51.|Trap Mac|
|00002d30| 72 6f 73 14 14 35 2d 35 | 31 0d 47 6c 6f 62 61 6c |ros..5-5|1.Global|
|00002d40| 20 56 61 72 69 61 62 6c | 65 73 14 14 35 2d 35 31 | Variabl|es..5-51|
|00002d50| 0d 52 65 73 75 6c 74 20 | 43 6f 64 65 73 14 14 35 |.Result |Codes..5|
|00002d60| 2d 35 31 0d 0d 0d 43 68 | 61 70 74 65 72 20 36 09 |-51...Ch|apter 6.|
|00002d70| 50 6f 77 65 72 20 4d 61 | 6e 61 67 65 72 14 14 36 |Power Ma|nager..6|
|00002d80| 2d 31 0d 0d 41 62 6f 75 | 74 20 74 68 65 20 50 6f |-1..Abou|t the Po|
|00002d90| 77 65 72 20 4d 61 6e 61 | 67 65 72 14 14 36 2d 34 |wer Mana|ger..6-4|
|00002da0| 0d 54 68 65 20 50 6f 77 | 65 72 2d 53 61 76 65 72 |.The Pow|er-Saver|
|00002db0| 20 53 74 61 74 65 14 14 | 36 2d 36 0d 54 68 65 20 | State..|6-6.The |
|00002dc0| 49 64 6c 65 20 53 74 61 | 74 65 14 14 36 2d 37 0d |Idle Sta|te..6-7.|
|00002dd0| 54 68 65 20 53 6c 65 65 | 70 20 53 74 61 74 65 14 |The Slee|p State.|
|00002de0| 14 36 2d 38 0d 54 68 65 | 20 53 6c 65 65 70 20 51 |.6-8.The| Sleep Q|
|00002df0| 75 65 75 65 14 14 36 2d | 39 0d 53 6c 65 65 70 20 |ueue..6-|9.Sleep |
|00002e00| 52 65 71 75 65 73 74 73 | 14 14 36 2d 31 30 0d 53 |Requests|..6-10.S|
|00002e10| 6c 65 65 70 20 44 65 6d | 61 6e 64 73 14 14 36 2d |leep Dem|ands..6-|
|00002e20| 31 30 0d 57 61 6b 65 75 | 70 20 44 65 6d 61 6e 64 |10.Wakeu|p Demand|
|00002e30| 73 14 14 36 2d 31 31 0d | 53 6c 65 65 70 2d 52 65 |s..6-11.|Sleep-Re|
|00002e40| 71 75 65 73 74 20 52 65 | 76 6f 63 61 74 69 6f 6e |quest Re|vocation|
|00002e50| 73 14 14 36 2d 31 32 0d | 50 6f 77 65 72 20 4d 61 |s..6-12.|Power Ma|
|00002e60| 6e 61 67 65 72 20 44 69 | 73 70 61 74 63 68 14 14 |nager Di|spatch..|
|00002e70| 36 2d 31 32 0d 55 73 69 | 6e 67 20 74 68 65 20 50 |6-12.Usi|ng the P|
|00002e80| 6f 77 65 72 20 4d 61 6e | 61 67 65 72 14 14 36 2d |ower Man|ager..6-|
|00002e90| 31 33 0d 44 65 74 65 72 | 6d 69 6e 69 6e 67 20 57 |13.Deter|mining W|
|00002ea0| 68 65 74 68 65 72 20 74 | 68 65 20 50 6f 77 65 72 |hether t|he Power|
|00002eb0| 20 4d 61 6e 61 67 65 72 | 20 49 73 20 50 72 65 73 | Manager| Is Pres|
|00002ec0| 65 6e 74 14 14 36 2d 31 | 34 0d 44 65 74 65 72 6d |ent..6-1|4.Determ|
|00002ed0| 69 6e 69 6e 67 20 57 68 | 65 74 68 65 72 20 74 68 |ining Wh|ether th|
|00002ee0| 65 20 50 6f 77 65 72 20 | 4d 61 6e 61 67 65 72 20 |e Power |Manager |
|00002ef0| 44 69 73 70 61 74 63 68 | 20 52 6f 75 74 69 6e 65 |Dispatch| Routine|
|00002f00| 73 20 61 72 65 20 50 72 | 65 73 65 6e 74 14 14 36 |s are Pr|esent..6|
|00002f10| 2d 31 34 0d 45 6e 61 62 | 6c 69 6e 67 20 6f 72 20 |-14.Enab|ling or |
|00002f20| 44 69 73 61 62 6c 69 6e | 67 20 74 68 65 20 49 64 |Disablin|g the Id|
|00002f30| 6c 65 20 53 74 61 74 65 | 14 14 36 2d 31 35 0d 53 |le State|..6-15.S|
|00002f40| 65 74 74 69 6e 67 2c 20 | 44 69 73 61 62 6c 69 6e |etting, |Disablin|
|00002f50| 67 2c 20 61 6e 64 20 52 | 65 61 64 69 6e 67 20 74 |g, and R|eading t|
|00002f60| 68 65 20 57 61 6b 65 75 | 70 20 54 69 6d 65 72 14 |he Wakeu|p Timer.|
|00002f70| 14 36 2d 31 36 0d 49 6e | 73 74 61 6c 6c 69 6e 67 |.6-16.In|stalling|
|00002f80| 20 61 20 53 6c 65 65 70 | 20 50 72 6f 63 65 64 75 | a Sleep| Procedu|
|00002f90| 72 65 14 14 36 2d 31 38 | 0d 55 73 69 6e 67 20 41 |re..6-18|.Using A|
|00002fa0| 70 70 6c 69 63 61 74 69 | 6f 6e 20 47 6c 6f 62 61 |pplicati|on Globa|
|00002fb0| 6c 20 56 61 72 69 61 62 | 6c 65 73 20 69 6e 20 53 |l Variab|les in S|
|00002fc0| 6c 65 65 70 20 50 72 6f | 63 65 64 75 72 65 73 14 |leep Pro|cedures.|
|00002fd0| 14 36 2d 31 39 0d 57 72 | 69 74 69 6e 67 20 61 20 |.6-19.Wr|iting a |
|00002fe0| 53 6c 65 65 70 20 50 72 | 6f 63 65 64 75 72 65 14 |Sleep Pr|ocedure.|
|00002ff0| 14 36 2d 32 30 0d 53 77 | 69 74 63 68 69 6e 67 20 |.6-20.Sw|itching |
|00003000| 53 65 72 69 61 6c 20 50 | 6f 77 65 72 20 4f 6e 20 |Serial P|ower On |
|00003010| 61 6e 64 20 4f 66 66 14 | 14 36 2d 32 35 0d 4d 6f |and Off.|.6-25.Mo|
|00003020| 6e 69 74 6f 72 69 6e 67 | 20 74 68 65 20 42 61 74 |nitoring| the Bat|
|00003030| 74 65 72 79 20 61 6e 64 | 20 42 61 74 74 65 72 79 |tery and| Battery|
|00003040| 20 43 68 61 72 67 65 72 | 14 14 36 2d 32 36 0d 50 | Charger|..6-26.P|
|00003050| 6f 77 65 72 20 4d 61 6e | 61 67 65 72 20 52 65 66 |ower Man|ager Ref|
|00003060| 65 72 65 6e 63 65 14 14 | 36 2d 32 36 0d 44 61 74 |erence..|6-26.Dat|
|00003070| 61 20 53 74 72 75 63 74 | 75 72 65 73 14 14 36 2d |a Struct|ures..6-|
|00003080| 32 36 0d 53 6c 65 65 70 | 20 51 75 65 75 65 20 52 |26.Sleep| Queue R|
|00003090| 65 63 6f 72 64 14 14 36 | 2d 32 36 0d 48 61 72 64 |ecord..6|-26.Hard|
|000030a0| 20 44 69 73 6b 20 51 75 | 65 75 65 20 53 74 72 75 | Disk Qu|eue Stru|
|000030b0| 63 74 75 72 65 14 14 36 | 2d 32 37 0d 57 61 6b 65 |cture..6|-27.Wake|
|000030c0| 75 70 20 54 69 6d 65 20 | 53 74 72 75 63 74 75 72 |up Time |Structur|
|000030d0| 65 14 14 36 2d 32 37 0d | 42 61 74 74 65 72 79 20 |e..6-27.|Battery |
|000030e0| 49 6e 66 6f 72 6d 61 74 | 69 6f 6e 20 53 74 72 75 |Informat|ion Stru|
|000030f0| 63 74 75 72 65 14 14 36 | 2d 32 37 0d 42 61 74 74 |cture..6|-27.Batt|
|00003100| 65 72 79 20 54 69 6d 65 | 20 53 74 72 75 63 74 75 |ery Time| Structu|
|00003110| 72 65 14 14 36 2d 32 38 | 0d 50 6f 77 65 72 20 4d |re..6-28|.Power M|
|00003120| 61 6e 61 67 65 72 20 52 | 6f 75 74 69 6e 65 73 14 |anager R|outines.|
|00003130| 14 36 2d 32 38 0d 43 6f | 6e 74 72 6f 6c 6c 69 6e |.6-28.Co|ntrollin|
|00003140| 67 20 74 68 65 20 49 64 | 6c 65 20 53 74 61 74 65 |g the Id|le State|
|00003150| 14 14 36 2d 32 38 0d 43 | 6f 6e 74 72 6f 6c 6c 69 |..6-28.C|ontrolli|
|00003160| 6e 67 20 61 6e 64 20 52 | 65 61 64 69 6e 67 20 74 |ng and R|eading t|
|00003170| 68 65 20 57 61 6b 65 75 | 70 20 54 69 6d 65 72 14 |he Wakeu|p Timer.|
|00003180| 14 36 2d 33 31 0d 43 6f | 6e 74 72 6f 6c 6c 69 6e |.6-31.Co|ntrollin|
|00003190| 67 20 74 68 65 20 53 6c | 65 65 70 20 51 75 65 75 |g the Sl|eep Queu|
|000031a0| 65 14 14 36 2d 33 33 0d | 43 6f 6e 74 72 6f 6c 6c |e..6-33.|Controll|
|000031b0| 69 6e 67 20 53 65 72 69 | 61 6c 20 50 6f 77 65 72 |ing Seri|al Power|
|000031c0| 14 14 36 2d 33 34 0d 52 | 65 61 64 69 6e 67 20 74 |..6-34.R|eading t|
|000031d0| 68 65 20 53 74 61 74 75 | 73 20 6f 66 20 74 68 65 |he Statu|s of the|
|000031e0| 20 49 6e 74 65 72 6e 61 | 6c 20 4d 6f 64 65 6d 14 | Interna|l Modem.|
|000031f0| 14 36 2d 33 36 0d 52 65 | 61 64 69 6e 67 20 74 68 |.6-36.Re|ading th|
|00003200| 65 20 53 74 61 74 75 73 | 20 6f 66 20 74 68 65 20 |e Status| of the |
|00003210| 42 61 74 74 65 72 79 20 | 61 6e 64 20 74 68 65 20 |Battery |and the |
|00003220| 42 61 74 74 65 72 79 20 | 43 68 61 72 67 65 72 14 |Battery |Charger.|
|00003230| 14 36 2d 33 38 0d 50 6f | 77 65 72 20 4d 61 6e 61 |.6-38.Po|wer Mana|
|00003240| 67 65 72 20 44 69 73 70 | 61 74 63 68 20 52 6f 75 |ger Disp|atch Rou|
|00003250| 74 69 6e 65 73 14 14 36 | 2d 34 30 0d 44 65 74 65 |tines..6|-40.Dete|
|00003260| 72 6d 69 6e 69 6e 67 20 | 74 68 65 20 50 6f 77 65 |rmining |the Powe|
|00003270| 72 20 4d 61 6e 61 67 65 | 72 20 46 65 61 74 75 72 |r Manage|r Featur|
|00003280| 65 73 20 41 76 61 69 6c | 61 62 6c 65 14 14 36 2d |es Avail|able..6-|
|00003290| 34 30 0d 43 6f 6e 74 72 | 6f 6c 6c 69 6e 67 20 74 |40.Contr|olling t|
|000032a0| 68 65 20 53 6c 65 65 70 | 20 61 6e 64 20 57 61 6b |he Sleep| and Wak|
|000032b0| 65 75 70 20 54 69 6d 65 | 72 73 14 14 36 2d 34 32 |eup Time|rs..6-42|
|000032c0| 0d 43 6f 6e 74 72 6f 6c | 6c 69 6e 67 20 74 68 65 |.Control|ling the|
|000032d0| 20 44 69 6d 6d 69 6e 67 | 20 54 69 6d 65 72 14 14 | Dimming| Timer..|
|000032e0| 36 2d 34 36 0d 43 6f 6e | 74 72 6f 6c 6c 69 6e 67 |6-46.Con|trolling|
|000032f0| 20 74 68 65 20 48 61 72 | 64 20 44 69 73 6b 14 14 | the Har|d Disk..|
|00003300| 36 2d 34 38 0d 47 65 74 | 74 69 6e 67 20 49 6e 66 |6-48.Get|ting Inf|
|00003310| 6f 72 6d 61 74 69 6f 6e | 20 41 62 6f 75 74 20 74 |ormation| About t|
|00003320| 68 65 20 49 6e 74 65 72 | 6e 61 6c 20 42 61 74 74 |he Inter|nal Batt|
|00003330| 65 72 69 65 73 14 14 36 | 2d 35 34 0d 43 6f 6e 74 |eries..6|-54.Cont|
|00003340| 72 6f 6c 6c 69 6e 67 20 | 74 68 65 20 49 6e 74 65 |rolling |the Inte|
|00003350| 72 6e 61 6c 20 4d 6f 64 | 65 6d 14 14 36 2d 35 38 |rnal Mod|em..6-58|
|00003360| 0d 43 6f 6e 74 72 6f 6c | 6c 69 6e 67 20 74 68 65 |.Control|ling the|
|00003370| 20 50 72 6f 63 65 73 73 | 6f 72 14 14 36 2d 36 30 | Process|or..6-60|
|00003380| 0d 47 65 74 74 69 6e 67 | 20 61 6e 64 20 53 65 74 |.Getting| and Set|
|00003390| 74 69 6e 67 20 74 68 65 | 20 53 43 53 49 20 49 44 |ting the| SCSI ID|
|000033a0| 14 14 36 2d 36 33 0d 41 | 70 70 6c 69 63 61 74 69 |..6-63.A|pplicati|
|000033b0| 6f 6e 2d 44 65 66 69 6e | 65 64 20 52 6f 75 74 69 |on-Defin|ed Routi|
|000033c0| 6e 65 73 14 14 36 2d 36 | 35 0d 53 6c 65 65 70 20 |nes..6-6|5.Sleep |
|000033d0| 50 72 6f 63 65 64 75 72 | 65 73 14 14 36 2d 36 35 |Procedur|es..6-65|
|000033e0| 0d 48 61 72 64 20 44 69 | 73 6b 20 53 70 69 6e 64 |.Hard Di|sk Spind|
|000033f0| 6f 77 6e 20 46 75 6e 63 | 74 69 6f 6e 14 14 36 2d |own Func|tion..6-|
|00003400| 36 36 0d 53 75 6d 6d 61 | 72 79 20 6f 66 20 74 68 |66.Summa|ry of th|
|00003410| 65 20 50 6f 77 65 72 20 | 4d 61 6e 61 67 65 72 14 |e Power |Manager.|
|00003420| 14 36 2d 36 37 0d 50 61 | 73 63 61 6c 20 53 75 6d |.6-67.Pa|scal Sum|
|00003430| 6d 61 72 79 14 14 36 2d | 36 37 0d 43 6f 6e 73 74 |mary..6-|67.Const|
|00003440| 61 6e 74 73 14 14 36 2d | 36 37 0d 44 61 74 61 20 |ants..6-|67.Data |
|00003450| 54 79 70 65 73 14 14 36 | 2d 36 39 0d 50 6f 77 65 |Types..6|-69.Powe|
|00003460| 72 20 4d 61 6e 61 67 65 | 72 20 52 6f 75 74 69 6e |r Manage|r Routin|
|00003470| 65 73 14 14 36 2d 37 30 | 0d 50 6f 77 65 72 20 4d |es..6-70|.Power M|
|00003480| 61 6e 61 67 65 72 20 44 | 69 73 70 61 74 63 68 20 |anager D|ispatch |
|00003490| 52 6f 75 74 69 6e 65 73 | 14 14 36 2d 37 30 0d 41 |Routines|..6-70.A|
|000034a0| 70 70 6c 69 63 61 74 69 | 6f 6e 2d 44 65 66 69 6e |pplicati|on-Defin|
|000034b0| 65 64 20 52 6f 75 74 69 | 6e 65 73 14 14 36 2d 37 |ed Routi|nes..6-7|
|000034c0| 32 0d 43 20 53 75 6d 6d | 61 72 79 14 14 36 2d 37 |2.C Summ|ary..6-7|
|000034d0| 32 0d 43 6f 6e 73 74 61 | 6e 74 73 20 61 6e 64 20 |2.Consta|nts and |
|000034e0| 44 61 74 61 20 54 79 70 | 65 73 14 14 36 2d 37 32 |Data Typ|es..6-72|
|000034f0| 0d 50 6f 77 65 72 20 4d | 61 6e 61 67 65 72 20 46 |.Power M|anager F|
|00003500| 75 6e 63 74 69 6f 6e 73 | 14 14 36 2d 37 35 0d 50 |unctions|..6-75.P|
|00003510| 6f 77 65 72 20 4d 61 6e | 61 67 65 72 20 44 69 73 |ower Man|ager Dis|
|00003520| 70 61 74 63 68 20 46 75 | 6e 63 74 69 6f 6e 73 14 |patch Fu|nctions.|
|00003530| 14 36 2d 37 36 0d 41 70 | 70 6c 69 63 61 74 69 6f |.6-76.Ap|plicatio|
|00003540| 6e 2d 44 65 66 69 6e 65 | 64 20 46 75 6e 63 74 69 |n-Define|d Functi|
|00003550| 6f 6e 73 14 14 36 2d 37 | 37 0d 41 73 73 65 6d 62 |ons..6-7|7.Assemb|
|00003560| 6c 79 2d 4c 61 6e 67 75 | 61 67 65 20 53 75 6d 6d |ly-Langu|age Summ|
|00003570| 61 72 79 14 14 36 2d 37 | 37 0d 44 61 74 61 20 53 |ary..6-7|7.Data S|
|00003580| 74 72 75 63 74 75 72 65 | 73 14 14 36 2d 37 37 0d |tructure|s..6-77.|
|00003590| 54 72 61 70 20 4d 61 63 | 72 6f 73 14 14 36 2d 37 |Trap Mac|ros..6-7|
|000035a0| 38 0d 52 65 73 75 6c 74 | 20 43 6f 64 65 73 14 14 |8.Result| Codes..|
|000035b0| 36 2d 38 30 0d 0d 43 68 | 61 70 74 65 72 20 37 09 |6-80..Ch|apter 7.|
|000035c0| 53 65 72 69 61 6c 20 44 | 72 69 76 65 72 14 14 37 |Serial D|river..7|
|000035d0| 2d 31 0d 0d 20 49 6e 74 | 72 6f 64 75 63 74 69 6f |-1.. Int|roductio|
|000035e0| 6e 20 74 6f 20 53 65 72 | 69 61 6c 20 43 6f 6d 6d |n to Ser|ial Comm|
|000035f0| 75 6e 69 63 61 74 69 6f | 6e 14 14 37 2d 33 0d 41 |unicatio|n..7-3.A|
|00003600| 73 79 6e 63 68 72 6f 6e | 6f 75 73 20 61 6e 64 20 |synchron|ous and |
|00003610| 53 79 6e 63 68 72 6f 6e | 6f 75 73 20 43 6f 6d 6d |Synchron|ous Comm|
|00003620| 75 6e 69 63 61 74 69 6f | 6e 14 14 37 2d 34 0d 44 |unicatio|n..7-4.D|
|00003630| 75 70 6c 65 78 20 43 6f | 6d 6d 75 6e 69 63 61 74 |uplex Co|mmunicat|
|00003640| 69 6f 6e 14 14 37 2d 34 | 0d 46 6c 6f 77 20 43 6f |ion..7-4|.Flow Co|
|00003650| 6e 74 72 6f 6c 20 4d 65 | 74 68 6f 64 73 14 14 37 |ntrol Me|thods..7|
|00003660| 2d 34 0d 41 73 79 6e 63 | 68 72 6f 6e 6f 75 73 20 |-4.Async|hronous |
|00003670| 53 65 72 69 61 6c 20 43 | 6f 6d 6d 75 6e 69 63 61 |Serial C|ommunica|
|00003680| 74 69 6f 6e 20 50 72 6f | 74 6f 63 6f 6c 14 14 37 |tion Pro|tocol..7|
|00003690| 2d 35 0d 54 68 65 20 52 | 53 2d 34 32 32 20 53 65 |-5.The R|S-422 Se|
|000036a0| 72 69 61 6c 20 49 6e 74 | 65 72 66 61 63 65 14 14 |rial Int|erface..|
|000036b0| 37 2d 36 0d 41 62 6f 75 | 74 20 74 68 65 20 53 65 |7-6.Abou|t the Se|
|000036c0| 72 69 61 6c 20 44 72 69 | 76 65 72 14 14 37 2d 38 |rial Dri|ver..7-8|
|000036d0| 0d 4d 61 63 69 6e 74 6f | 73 68 20 53 65 72 69 61 |.Macinto|sh Seria|
|000036e0| 6c 20 41 72 63 68 69 74 | 65 63 74 75 72 65 14 14 |l Archit|ecture..|
|000036f0| 37 2d 38 0d 53 65 72 69 | 61 6c 20 43 6f 6d 6d 75 |7-8.Seri|al Commu|
|00003700| 6e 69 63 61 74 69 6f 6e | 20 45 72 72 6f 72 73 14 |nication| Errors.|
|00003710| 14 37 2d 31 30 0d 55 73 | 69 6e 67 20 74 68 65 20 |.7-10.Us|ing the |
|00003720| 53 65 72 69 61 6c 20 44 | 72 69 76 65 72 14 14 37 |Serial D|river..7|
|00003730| 2d 31 31 0d 4f 70 65 6e | 69 6e 67 20 74 68 65 20 |-11.Open|ing the |
|00003740| 53 65 72 69 61 6c 20 44 | 72 69 76 65 72 14 14 37 |Serial D|river..7|
|00003750| 2d 31 35 0d 53 70 65 63 | 69 66 79 69 6e 67 20 61 |-15.Spec|ifying a|
|00003760| 6e 20 41 6c 74 65 72 6e | 61 74 65 20 49 6e 70 75 |n Altern|ate Inpu|
|00003770| 74 20 42 75 66 66 65 72 | 14 14 37 2d 31 35 0d 53 |t Buffer|..7-15.S|
|00003780| 65 74 74 69 6e 67 20 74 | 68 65 20 48 61 6e 64 73 |etting t|he Hands|
|00003790| 68 61 6b 69 6e 67 20 4f | 70 74 69 6f 6e 73 14 14 |haking O|ptions..|
|000037a0| 37 2d 31 36 0d 53 65 74 | 74 69 6e 67 20 74 68 65 |7-16.Set|ting the|
|000037b0| 20 42 61 75 64 20 52 61 | 74 65 20 61 6e 64 20 44 | Baud Ra|te and D|
|000037c0| 61 74 61 20 46 6f 72 6d | 61 74 14 14 37 2d 31 36 |ata Form|at..7-16|
|000037d0| 0d 52 65 61 64 69 6e 67 | 20 61 6e 64 20 57 72 69 |.Reading| and Wri|
|000037e0| 74 69 6e 67 20 74 6f 20 | 74 68 65 20 53 65 72 69 |ting to |the Seri|
|000037f0| 61 6c 20 50 6f 72 74 73 | 14 14 37 2d 31 36 0d 53 |al Ports|..7-16.S|
|00003800| 79 6e 63 68 72 6f 6e 6f | 75 73 20 49 2f 4f 20 52 |ynchrono|us I/O R|
|00003810| 65 71 75 65 73 74 73 14 | 14 37 2d 31 37 0d 41 73 |equests.|.7-17.As|
|00003820| 79 6e 63 68 72 6f 6e 6f | 75 73 20 49 2f 4f 20 52 |ynchrono|us I/O R|
|00003830| 65 71 75 65 73 74 73 14 | 14 37 2d 31 37 0d 43 6c |equests.|.7-17.Cl|
|00003840| 6f 73 69 6e 67 20 74 68 | 65 20 53 65 72 69 61 6c |osing th|e Serial|
|00003850| 20 44 72 69 76 65 72 14 | 14 37 2d 31 37 0d 53 79 | Driver.|.7-17.Sy|
|00003860| 6e 63 68 72 6f 6e 6f 75 | 73 20 43 6c 6f 63 6b 69 |nchronou|s Clocki|
|00003870| 6e 67 14 14 37 2d 31 38 | 0d 53 65 72 69 61 6c 20 |ng..7-18|.Serial |
|00003880| 44 72 69 76 65 72 20 52 | 65 66 65 72 65 6e 63 65 |Driver R|eference|
|00003890| 14 14 37 2d 31 38 0d 53 | 65 72 69 61 6c 20 44 72 |..7-18.S|erial Dr|
|000038a0| 69 76 65 72 20 52 6f 75 | 74 69 6e 65 73 14 14 37 |iver Rou|tines..7|
|000038b0| 2d 31 38 0d 4c 6f 77 2d | 4c 65 76 65 6c 20 52 6f |-18.Low-|Level Ro|
|000038c0| 75 74 69 6e 65 73 14 14 | 37 2d 32 37 0d 53 75 6d |utines..|7-27.Sum|
|000038d0| 6d 61 72 79 20 6f 66 20 | 74 68 65 20 53 65 72 69 |mary of |the Seri|
|000038e0| 61 6c 20 44 72 69 76 65 | 72 14 14 37 2d 33 30 0d |al Drive|r..7-30.|
|000038f0| 50 61 73 63 61 6c 20 53 | 75 6d 6d 61 72 79 14 14 |Pascal S|ummary..|
|00003900| 37 2d 33 30 0d 43 6f 6e | 73 74 61 6e 74 73 14 14 |7-30.Con|stants..|
|00003910| 37 2d 33 30 0d 44 61 74 | 61 20 54 79 70 65 73 14 |7-30.Dat|a Types.|
|00003920| 14 37 2d 33 31 0d 52 6f | 75 74 69 6e 65 73 14 14 |.7-31.Ro|utines..|
|00003930| 37 2d 33 32 0d 43 20 53 | 75 6d 6d 61 72 79 14 14 |7-32.C S|ummary..|
|00003940| 37 2d 33 32 0d 43 6f 6e | 73 74 61 6e 74 73 14 14 |7-32.Con|stants..|
|00003950| 37 2d 33 32 0d 44 61 74 | 61 20 54 79 70 65 73 14 |7-32.Dat|a Types.|
|00003960| 14 37 2d 33 33 0d 46 75 | 6e 63 74 69 6f 6e 73 14 |.7-33.Fu|nctions.|
|00003970| 14 37 2d 33 34 0d 41 73 | 73 65 6d 62 6c 79 2d 4c |.7-34.As|sembly-L|
|00003980| 61 6e 67 75 61 67 65 20 | 53 75 6d 6d 61 72 79 14 |anguage |Summary.|
|00003990| 14 37 2d 33 34 0d 44 61 | 74 61 20 53 74 72 75 63 |.7-34.Da|ta Struc|
|000039a0| 74 75 72 65 73 14 14 37 | 2d 33 34 0d 44 65 76 69 |tures..7|-34.Devi|
|000039b0| 63 65 20 4d 61 6e 61 67 | 65 72 20 49 6e 74 65 72 |ce Manag|er Inter|
|000039c0| 66 61 63 65 14 14 37 2d | 33 35 0d 52 65 73 75 6c |face..7-|35.Resul|
|000039d0| 74 20 43 6f 64 65 73 14 | 14 37 2d 33 35 0d 0d 47 |t Codes.|.7-35..G|
|000039e0| 6c 6f 73 73 61 72 79 14 | 14 47 4c 2d 31 0d 0d 0d |lossary.|.GL-1...|
|000039f0| 49 6e 64 65 78 14 14 49 | 4e 2d 31 0d 46 69 67 75 |Index..I|N-1.Figu|
|00003a00| 72 65 73 2c 20 54 61 62 | 6c 65 73 2c 20 61 6e 64 |res, Tab|les, and|
|00003a10| 20 4c 69 73 74 69 6e 67 | 73 0d 0d 43 68 61 70 74 | Listing|s..Chapt|
|00003a20| 65 72 20 31 09 44 65 76 | 69 63 65 20 4d 61 6e 61 |er 1.Dev|ice Mana|
|00003a30| 67 65 72 14 14 31 2d 31 | 0d 0d 46 69 67 75 72 65 |ger..1-1|..Figure|
|00003a40| 20 31 2d 31 09 44 65 76 | 69 63 65 73 20 61 6e 64 | 1-1.Dev|ices and|
|00003a50| 20 74 68 65 20 4d 61 63 | 69 6e 74 6f 73 68 14 14 | the Mac|intosh..|
|00003a60| 31 2d 34 0d 46 69 67 75 | 72 65 20 31 2d 32 09 43 |1-4.Figu|re 1-2.C|
|00003a70| 6f 6d 6d 75 6e 69 63 61 | 74 69 6f 6e 20 77 69 74 |ommunica|tion wit|
|00003a80| 68 20 64 65 76 69 63 65 | 73 14 14 31 2d 35 0d 46 |h device|s..1-5.F|
|00003a90| 69 67 75 72 65 20 31 2d | 33 09 54 68 65 20 64 65 |igure 1-|3.The de|
|00003aa0| 76 69 63 65 20 63 6f 6e | 74 72 6f 6c 20 65 6e 74 |vice con|trol ent|
|00003ab0| 72 79 14 14 31 2d 37 0d | 46 69 67 75 72 65 20 31 |ry..1-7.|Figure 1|
|00003ac0| 2d 34 09 54 68 65 20 75 | 6e 69 74 20 74 61 62 6c |-4.The u|nit tabl|
|00003ad0| 65 14 14 31 2d 39 0d 46 | 69 67 75 72 65 20 31 2d |e..1-9.F|igure 1-|
|00003ae0| 35 09 52 65 6c 61 74 69 | 6f 6e 73 68 69 70 20 6f |5.Relati|onship o|
|00003af0| 66 20 74 68 65 20 44 65 | 76 69 63 65 20 4d 61 6e |f the De|vice Man|
|00003b00| 61 67 65 72 20 64 61 74 | 61 20 73 74 72 75 63 74 |ager dat|a struct|
|00003b10| 75 72 65 73 14 14 31 2d | 31 31 0d 46 69 67 75 72 |ures..1-|11.Figur|
|00003b20| 65 20 31 2d 36 09 53 74 | 72 75 63 74 75 72 65 20 |e 1-6.St|ructure |
|00003b30| 6f 66 20 61 20 64 72 69 | 76 65 72 20 72 65 73 6f |of a dri|ver reso|
|00003b40| 75 72 63 65 14 14 31 2d | 31 33 0d 46 69 67 75 72 |urce..1-|13.Figur|
|00003b50| 65 20 31 2d 37 09 48 69 | 65 72 61 72 63 68 79 20 |e 1-7.Hi|erarchy |
|00003b60| 6f 66 20 44 65 76 69 63 | 65 20 4d 61 6e 61 67 65 |of Devic|e Manage|
|00003b70| 72 20 66 75 6e 63 74 69 | 6f 6e 73 14 14 31 2d 31 |r functi|ons..1-1|
|00003b80| 34 0d 46 69 67 75 72 65 | 20 31 2d 38 09 44 65 76 |4.Figure| 1-8.Dev|
|00003b90| 69 63 65 20 4d 61 6e 61 | 67 65 72 20 70 61 72 61 |ice Mana|ger para|
|00003ba0| 6d 65 74 65 72 20 62 6c | 6f 63 6b 73 14 14 31 2d |meter bl|ocks..1-|
|00003bb0| 31 36 0d 46 69 67 75 72 | 65 20 31 2d 39 09 54 68 |16.Figur|e 1-9.Th|
|00003bc0| 65 20 64 72 69 76 65 72 | 20 68 65 61 64 65 72 14 |e driver| header.|
|00003bd0| 14 31 2d 32 35 0d 46 69 | 67 75 72 65 20 31 2d 31 |.1-25.Fi|gure 1-1|
|00003be0| 30 09 54 68 65 20 43 68 | 6f 6f 73 65 72 20 77 69 |0.The Ch|ooser wi|
|00003bf0| 6e 64 6f 77 14 14 31 2d | 34 31 0d 46 69 67 75 72 |ndow..1-|41.Figur|
|00003c00| 65 20 31 2d 31 31 09 53 | 74 72 75 63 74 75 72 65 |e 1-11.S|tructure|
|00003c10| 20 6f 66 20 61 20 64 65 | 76 69 63 65 20 70 61 63 | of a de|vice pac|
|00003c20| 6b 61 67 65 14 14 31 2d | 34 35 0d 54 61 62 6c 65 |kage..1-|45.Table|
|00003c30| 20 31 2d 31 09 44 65 76 | 69 63 65 20 4d 61 6e 61 | 1-1.Dev|ice Mana|
|00003c40| 67 65 72 20 49 2f 4f 20 | 66 75 6e 63 74 69 6f 6e |ger I/O |function|
|00003c50| 73 20 61 6e 64 20 72 65 | 73 70 6f 6e 73 69 62 6c |s and re|sponsibl|
|00003c60| 65 20 64 72 69 76 65 72 | 20 72 6f 75 74 69 6e 65 |e driver| routine|
|00003c70| 73 14 14 31 2d 31 32 0d | 54 61 62 6c 65 20 31 2d |s..1-12.|Table 1-|
|00003c80| 32 09 52 65 73 65 72 76 | 65 64 20 75 6e 69 74 20 |2.Reserv|ed unit |
|00003c90| 6e 75 6d 62 65 72 73 14 | 14 31 2d 33 38 0d 54 61 |numbers.|.1-38.Ta|
|00003ca0| 62 6c 65 20 31 2d 33 09 | 44 65 76 69 63 65 20 70 |ble 1-3.|Device p|
|00003cb0| 61 63 6b 61 67 65 20 66 | 6c 61 67 73 14 14 31 2d |ackage f|lags..1-|
|00003cc0| 34 36 0d 54 61 62 6c 65 | 20 31 2d 34 09 43 68 6f |46.Table| 1-4.Cho|
|00003cd0| 6f 73 65 72 20 6d 65 73 | 73 61 67 65 73 20 61 6e |oser mes|sages an|
|00003ce0| 64 20 74 68 65 69 72 20 | 6d 65 61 6e 69 6e 67 73 |d their |meanings|
|00003cf0| 14 14 31 2d 34 37 0d 4c | 69 73 74 69 6e 67 20 31 |..1-47.L|isting 1|
|00003d00| 2d 31 09 4f 70 65 6e 69 | 6e 67 20 61 20 64 65 76 |-1.Openi|ng a dev|
|00003d10| 69 63 65 20 64 72 69 76 | 65 72 14 14 31 2d 31 38 |ice driv|er..1-18|
|00003d20| 0d 4c 69 73 74 69 6e 67 | 20 31 2d 32 09 43 6c 6f |.Listing| 1-2.Clo|
|00003d30| 73 69 6e 67 20 61 20 64 | 65 76 69 63 65 20 64 72 |sing a d|evice dr|
|00003d40| 69 76 65 72 14 14 31 2d | 32 30 0d 4c 69 73 74 69 |iver..1-|20.Listi|
|00003d50| 6e 67 20 31 2d 33 09 52 | 65 61 64 69 6e 67 20 66 |ng 1-3.R|eading f|
|00003d60| 72 6f 6d 20 61 20 64 65 | 76 69 63 65 20 64 72 69 |rom a de|vice dri|
|00003d70| 76 65 72 14 14 31 2d 32 | 31 0d 4c 69 73 74 69 6e |ver..1-2|1.Listin|
|00003d80| 67 20 31 2d 34 09 57 72 | 69 74 69 6e 67 20 74 6f |g 1-4.Wr|iting to|
|00003d90| 20 61 20 64 65 76 69 63 | 65 20 64 72 69 76 65 72 | a devic|e driver|
|00003da0| 14 14 31 2d 32 32 0d 4c | 69 73 74 69 6e 67 20 31 |..1-22.L|isting 1|
|00003db0| 2d 35 09 43 6f 6e 74 72 | 6f 6c 6c 69 6e 67 20 61 |-5.Contr|olling a|
|00003dc0| 6e 64 20 6d 6f 6e 69 74 | 6f 72 69 6e 67 20 61 20 |nd monit|oring a |
|00003dd0| 64 65 76 69 63 65 20 64 | 72 69 76 65 72 14 14 31 |device d|river..1|
|00003de0| 2d 32 33 0d 4c 69 73 74 | 69 6e 67 20 31 2d 36 09 |-23.List|ing 1-6.|
|00003df0| 44 72 69 76 65 72 20 66 | 6c 61 67 20 63 6f 6e 73 |Driver f|lag cons|
|00003e00| 74 61 6e 74 73 14 14 31 | 2d 32 37 0d 4c 69 73 74 |tants..1|-27.List|
|00003e10| 69 6e 67 20 31 2d 37 09 | 41 6e 20 61 73 73 65 6d |ing 1-7.|An assem|
|00003e20| 62 6c 79 2d 6c 61 6e 67 | 75 61 67 65 20 64 72 69 |bly-lang|uage dri|
|00003e30| 76 65 72 20 68 65 61 64 | 65 72 14 14 31 2d 32 38 |ver head|er..1-28|
|00003e40| 0d 4c 69 73 74 69 6e 67 | 20 31 2d 38 09 41 6e 20 |.Listing| 1-8.An |
|00003e50| 61 73 73 65 6d 62 6c 79 | 2d 6c 61 6e 67 75 61 67 |assembly|-languag|
|00003e60| 65 20 64 69 73 70 61 74 | 63 68 69 6e 67 20 72 6f |e dispat|ching ro|
|00003e70| 75 74 69 6e 65 14 14 31 | 2d 32 39 0d 4c 69 73 74 |utine..1|-29.List|
|00003e80| 69 6e 67 20 31 2d 39 09 | 45 78 61 6d 70 6c 65 20 |ing 1-9.|Example |
|00003e90| 64 72 69 76 65 72 20 6f | 70 65 6e 20 72 6f 75 74 |driver o|pen rout|
|00003ea0| 69 6e 65 14 14 31 2d 33 | 32 0d 4c 69 73 74 69 6e |ine..1-3|2.Listin|
|00003eb0| 67 20 31 2d 31 30 09 45 | 78 61 6d 70 6c 65 20 64 |g 1-10.E|xample d|
|00003ec0| 72 69 76 65 72 20 63 6c | 6f 73 65 20 72 6f 75 74 |river cl|ose rout|
|00003ed0| 69 6e 65 14 14 31 2d 33 | 33 0d 4c 69 73 74 69 6e |ine..1-3|3.Listin|
|00003ee0| 67 20 31 2d 31 31 09 45 | 78 61 6d 70 6c 65 20 64 |g 1-11.E|xample d|
|00003ef0| 72 69 76 65 72 20 70 72 | 69 6d 65 20 72 6f 75 74 |river pr|ime rout|
|00003f00| 69 6e 65 14 14 31 2d 33 | 34 0d 4c 69 73 74 69 6e |ine..1-3|4.Listin|
|00003f10| 67 20 31 2d 31 32 09 45 | 78 61 6d 70 6c 65 20 64 |g 1-12.E|xample d|
|00003f20| 72 69 76 65 72 20 63 6f | 6e 74 72 6f 6c 20 72 6f |river co|ntrol ro|
|00003f30| 75 74 69 6e 65 14 14 31 | 2d 33 35 0d 4c 69 73 74 |utine..1|-35.List|
|00003f40| 69 6e 67 20 31 2d 31 33 | 09 45 78 61 6d 70 6c 65 |ing 1-13|.Example|
|00003f50| 20 64 72 69 76 65 72 20 | 73 74 61 74 75 73 20 72 | driver |status r|
|00003f60| 6f 75 74 69 6e 65 14 14 | 31 2d 33 36 0d 4c 69 73 |outine..|1-36.Lis|
|00003f70| 74 69 6e 67 20 31 2d 31 | 34 09 46 69 6e 64 69 6e |ting 1-1|4.Findin|
|00003f80| 67 20 73 70 61 63 65 20 | 69 6e 20 74 68 65 20 75 |g space |in the u|
|00003f90| 6e 69 74 20 74 61 62 6c | 65 14 14 31 2d 33 39 0d |nit tabl|e..1-39.|
|00003fa0| 4c 69 73 74 69 6e 67 20 | 31 2d 31 35 09 20 27 44 |Listing |1-15. 'D|
|00003fb0| 52 56 52 27 20 72 65 73 | 6f 75 72 63 65 20 66 6f |RVR' res|ource fo|
|00003fc0| 72 6d 61 74 14 14 31 2d | 38 39 0d 0d 43 68 61 70 |rmat..1-|89..Chap|
|00003fd0| 74 65 72 20 32 09 53 6c | 6f 74 20 4d 61 6e 61 67 |ter 2.Sl|ot Manag|
|00003fe0| 65 72 14 14 32 2d 31 0d | 0d 46 69 67 75 72 65 20 |er..2-1.|.Figure |
|00003ff0| 32 2d 31 09 53 69 6d 70 | 6c 69 66 69 65 64 20 70 |2-1.Simp|lified p|
|00004000| 72 6f 63 65 73 73 6f 72 | 2d 62 75 73 20 61 6e 64 |rocessor|-bus and|
|00004010| 20 4e 75 42 75 73 20 61 | 72 63 68 69 74 65 63 74 | NuBus a|rchitect|
|00004020| 75 72 65 14 14 32 2d 34 | 0d 46 69 67 75 72 65 20 |ure..2-4|.Figure |
|00004030| 32 2d 32 09 54 68 65 20 | 4e 75 42 75 73 20 33 32 |2-2.The |NuBus 32|
|00004040| 2d 62 69 74 20 61 64 64 | 72 65 73 73 20 73 70 61 |-bit add|ress spa|
|00004050| 63 65 14 14 32 2d 36 0d | 46 69 67 75 72 65 20 32 |ce..2-6.|Figure 2|
|00004060| 2d 33 09 54 68 65 20 73 | 74 72 75 63 74 75 72 65 |-3.The s|tructure|
|00004070| 20 6f 66 20 61 20 74 79 | 70 69 63 61 6c 20 73 52 | of a ty|pical sR|
|00004080| 65 73 6f 75 72 63 65 20 | 14 14 32 2d 38 0d 46 69 |esource |..2-8.Fi|
|00004090| 67 75 72 65 20 32 2d 34 | 09 54 68 65 20 66 6f 72 |gure 2-4|.The for|
|000040a0| 6d 61 74 20 6f 66 20 74 | 68 65 20 73 42 6c 6f 63 |mat of t|he sBloc|
|000040b0| 6b 20 61 6e 64 20 73 45 | 78 65 63 42 6c 6f 63 6b |k and sE|xecBlock|
|000040c0| 20 64 61 74 61 20 73 74 | 72 75 63 74 75 72 65 73 | data st|ructures|
|000040d0| 14 14 32 2d 39 0d 46 69 | 67 75 72 65 20 32 2d 35 |..2-9.Fi|gure 2-5|
|000040e0| 09 54 68 65 20 73 52 73 | 72 63 54 79 70 65 20 65 |.The sRs|rcType e|
|000040f0| 6e 74 72 79 20 66 6f 72 | 6d 61 74 14 14 32 2d 31 |ntry for|mat..2-1|
|00004100| 30 0d 46 69 67 75 72 65 | 20 32 2d 36 09 41 20 73 |0.Figure| 2-6.A s|
|00004110| 61 6d 70 6c 65 20 62 6f | 61 72 64 20 73 52 65 73 |ample bo|ard sRes|
|00004120| 6f 75 72 63 65 14 14 32 | 2d 31 32 0d 46 69 67 75 |ource..2|-12.Figu|
|00004130| 72 65 20 32 2d 37 09 54 | 68 65 20 73 74 72 75 63 |re 2-7.T|he struc|
|00004140| 74 75 72 65 20 6f 66 20 | 74 68 65 20 73 52 65 73 |ture of |the sRes|
|00004150| 6f 75 72 63 65 20 64 69 | 72 65 63 74 6f 72 79 20 |ource di|rectory |
|00004160| 14 14 32 2d 31 33 0d 46 | 69 67 75 72 65 20 32 2d |..2-13.F|igure 2-|
|00004170| 38 09 54 68 65 20 66 6f | 72 6d 61 74 20 62 6c 6f |8.The fo|rmat blo|
|00004180| 63 6b 20 61 6e 64 20 73 | 52 65 73 6f 75 72 63 65 |ck and s|Resource|
|00004190| 73 20 66 6f 72 20 61 20 | 73 61 6d 70 6c 65 20 76 |s for a |sample v|
|000041a0| 69 64 65 6f 20 63 61 72 | 64 14 14 32 2d 31 34 0d |ideo car|d..2-14.|
|000041b0| 54 61 62 6c 65 20 32 2d | 31 09 53 6c 6f 74 20 61 |Table 2-|1.Slot a|
|000041c0| 64 64 72 65 73 73 20 61 | 6c 6c 6f 63 61 74 69 6f |ddress a|llocatio|
|000041d0| 6e 73 20 62 79 20 73 6c | 6f 74 20 49 44 14 14 32 |ns by sl|ot ID..2|
|000041e0| 2d 36 0d 54 61 62 6c 65 | 20 32 2d 32 09 4c 61 72 |-6.Table| 2-2.Lar|
|000041f0| 67 65 20 64 61 74 61 20 | 74 79 70 65 73 20 75 73 |ge data |types us|
|00004200| 65 64 20 69 6e 20 73 52 | 65 73 6f 75 72 63 65 73 |ed in sR|esources|
|00004210| 14 14 32 2d 39 0d 54 61 | 62 6c 65 20 32 2d 33 09 |..2-9.Ta|ble 2-3.|
|00004220| 54 68 65 20 53 6c 6f 74 | 20 4d 61 6e 61 67 65 72 |The Slot| Manager|
|00004230| 20 73 65 61 72 63 68 20 | 72 6f 75 74 69 6e 65 73 | search |routines|
|00004240| 14 14 32 2d 31 39 0d 54 | 61 62 6c 65 20 32 2d 34 |..2-19.T|able 2-4|
|00004250| 09 48 6f 77 20 74 68 65 | 20 53 6c 6f 74 20 4d 61 |.How the| Slot Ma|
|00004260| 6e 61 67 65 72 20 64 65 | 74 65 72 6d 69 6e 65 73 |nager de|termines|
|00004270| 20 74 68 65 20 62 61 73 | 65 20 61 64 64 72 65 73 | the bas|e addres|
|00004280| 73 20 6f 66 20 61 20 73 | 6c 6f 74 20 64 65 76 69 |s of a s|lot devi|
|00004290| 63 65 14 14 32 2d 35 35 | 0d 4c 69 73 74 69 6e 67 |ce..2-55|.Listing|
|000042a0| 20 32 2d 31 09 44 69 73 | 61 62 6c 69 6e 67 20 61 | 2-1.Dis|abling a|
|000042b0| 6e 64 20 65 6e 61 62 6c | 69 6e 67 20 61 6e 20 73 |nd enabl|ing an s|
|000042c0| 52 65 73 6f 75 72 63 65 | 14 14 32 2d 31 38 0d 4c |Resource|..2-18.L|
|000042d0| 69 73 74 69 6e 67 20 32 | 2d 32 09 53 65 61 72 63 |isting 2|-2.Searc|
|000042e0| 68 69 6e 67 20 66 6f 72 | 20 61 20 73 70 65 63 69 |hing for| a speci|
|000042f0| 66 69 65 64 20 74 79 70 | 65 20 6f 66 20 73 52 65 |fied typ|e of sRe|
|00004300| 73 6f 75 72 63 65 14 14 | 32 2d 31 39 0d 4c 69 73 |source..|2-19.Lis|
|00004310| 74 69 6e 67 20 32 2d 33 | 09 53 65 61 72 63 68 69 |ting 2-3|.Searchi|
|00004320| 6e 67 20 66 6f 72 20 74 | 68 65 20 6e 61 6d 65 20 |ng for t|he name |
|00004330| 6f 66 20 61 20 62 6f 61 | 72 64 20 73 52 65 73 6f |of a boa|rd sReso|
|00004340| 75 72 63 65 14 14 32 2d | 32 31 0d 0d 43 68 61 70 |urce..2-|21..Chap|
|00004350| 74 65 72 20 33 09 53 43 | 53 49 20 4d 61 6e 61 67 |ter 3.SC|SI Manag|
|00004360| 65 72 14 14 33 2d 31 0d | 0d 46 69 67 75 72 65 20 |er..3-1.|.Figure |
|00004370| 33 2d 31 09 53 43 53 49 | 20 62 75 73 20 70 68 61 |3-1.SCSI| bus pha|
|00004380| 73 65 73 20 61 6e 64 20 | 61 6c 6c 6f 77 61 62 6c |ses and |allowabl|
|00004390| 65 20 74 72 61 6e 73 69 | 74 69 6f 6e 73 14 14 33 |e transi|tions..3|
|000043a0| 2d 36 0d 46 69 67 75 72 | 65 20 33 2d 32 09 54 68 |-6.Figur|e 3-2.Th|
|000043b0| 65 20 72 6f 6c 65 20 6f | 66 20 74 68 65 20 53 43 |e role o|f the SC|
|000043c0| 53 49 20 4d 61 6e 61 67 | 65 72 14 14 33 2d 39 0d |SI Manag|er..3-9.|
|000043d0| 54 61 62 6c 65 20 33 2d | 31 09 53 43 53 49 20 62 |Table 3-|1.SCSI b|
|000043e0| 75 73 20 73 69 67 6e 61 | 6c 73 14 14 33 2d 35 0d |us signa|ls..3-5.|
|000043f0| 4c 69 73 74 69 6e 67 20 | 33 2d 31 09 52 65 61 64 |Listing |3-1.Read|
|00004400| 69 6e 67 20 64 61 74 61 | 20 66 72 6f 6d 20 61 20 |ing data| from a |
|00004410| 53 43 53 49 20 64 65 76 | 69 63 65 14 14 33 2d 31 |SCSI dev|ice..3-1|
|00004420| 36 0d 4c 69 73 74 69 6e | 67 20 33 2d 32 09 55 73 |6.Listin|g 3-2.Us|
|00004430| 69 6e 67 20 54 49 42 20 | 61 6e 64 20 43 44 42 20 |ing TIB |and CDB |
|00004440| 73 74 72 75 63 74 75 72 | 65 73 14 14 33 2d 31 38 |structur|es..3-18|
|00004450| 0d 0d 43 68 61 70 74 65 | 72 20 34 09 53 43 53 49 |..Chapte|r 4.SCSI|
|00004460| 20 4d 61 6e 61 67 65 72 | 20 34 2e 33 14 14 34 2d | Manager| 4.3..4-|
|00004470| 31 0d 0d 46 69 67 75 72 | 65 20 34 2d 31 09 54 68 |1..Figur|e 4-1.Th|
|00004480| 65 20 53 43 53 49 20 4d | 61 6e 61 67 65 72 20 34 |e SCSI M|anager 4|
|00004490| 2e 33 20 61 72 63 68 69 | 74 65 63 74 75 72 65 14 |.3 archi|tecture.|
|000044a0| 14 34 2d 34 0d 54 61 62 | 6c 65 20 34 2d 31 09 4f |.4-4.Tab|le 4-1.O|
|000044b0| 72 69 67 69 6e 61 6c 20 | 53 43 53 49 20 4d 61 6e |riginal |SCSI Man|
|000044c0| 61 67 65 72 20 70 61 72 | 61 6d 65 74 65 72 20 63 |ager par|ameter c|
|000044d0| 6f 6e 76 65 72 73 69 6f | 6e 14 14 34 2d 31 37 0d |onversio|n..4-17.|
|000044e0| 54 61 62 6c 65 20 34 2d | 32 09 53 43 53 49 41 63 |Table 4-|2.SCSIAc|
|000044f0| 74 69 6f 6e 20 66 75 6e | 63 74 69 6f 6e 20 73 65 |tion fun|ction se|
|00004500| 6c 65 63 74 6f 72 20 63 | 6f 64 65 73 14 14 34 2d |lector c|odes..4-|
|00004510| 33 39 0d 0d 43 68 61 70 | 74 65 72 20 35 09 41 44 |39..Chap|ter 5.AD|
|00004520| 42 20 4d 61 6e 61 67 65 | 72 14 14 35 2d 31 0d 0d |B Manage|r..5-1..|
|00004530| 46 69 67 75 72 65 20 35 | 2d 31 09 54 68 65 20 41 |Figure 5|-1.The A|
|00004540| 44 42 20 4d 61 6e 61 67 | 65 72 20 61 6e 64 20 64 |DB Manag|er and d|
|00004550| 65 76 69 63 65 20 68 61 | 6e 64 6c 65 72 73 14 14 |evice ha|ndlers..|
|00004560| 35 2d 36 0d 46 69 67 75 | 72 65 20 35 2d 32 09 43 |5-6.Figu|re 5-2.C|
|00004570| 6f 6d 6d 61 6e 64 20 66 | 6f 72 6d 61 74 73 20 66 |ommand f|ormats f|
|00004580| 6f 72 20 54 61 6c 6b 2c | 20 4c 69 73 74 65 6e 2c |or Talk,| Listen,|
|00004590| 20 61 6e 64 20 46 6c 75 | 73 68 14 14 35 2d 38 0d | and Flu|sh..5-8.|
|000045a0| 46 69 67 75 72 65 20 35 | 2d 33 09 43 6f 6d 6d 61 |Figure 5|-3.Comma|
|000045b0| 6e 64 20 66 6f 72 6d 61 | 74 20 66 6f 72 20 53 65 |nd forma|t for Se|
|000045c0| 6e 64 52 65 73 65 74 14 | 14 35 2d 38 0d 46 69 67 |ndReset.|.5-8.Fig|
|000045d0| 75 72 65 20 35 2d 34 09 | 41 20 74 79 70 69 63 61 |ure 5-4.|A typica|
|000045e0| 6c 20 41 44 42 20 74 72 | 61 6e 73 61 63 74 69 6f |l ADB tr|ansactio|
|000045f0| 6e 14 14 35 2d 39 0d 46 | 69 67 75 72 65 20 35 2d |n..5-9.F|igure 5-|
|00004600| 35 09 46 6f 72 6d 61 74 | 20 6f 66 20 64 65 76 69 |5.Format| of devi|
|00004610| 63 65 20 72 65 67 69 73 | 74 65 72 20 33 20 14 14 |ce regis|ter 3 ..|
|00004620| 35 2d 31 31 0d 46 69 67 | 75 72 65 20 35 2d 36 09 |5-11.Fig|ure 5-6.|
|00004630| 52 65 73 6f 6c 76 69 6e | 67 20 61 64 64 72 65 73 |Resolvin|g addres|
|00004640| 73 20 63 6f 6e 66 6c 69 | 63 74 73 20 14 14 35 2d |s confli|cts ..5-|
|00004650| 31 36 0d 46 69 67 75 72 | 65 20 35 2d 37 09 50 6f |16.Figur|e 5-7.Po|
|00004660| 6c 6c 69 6e 67 20 74 68 | 65 20 41 44 42 20 14 14 |lling th|e ADB ..|
|00004670| 35 2d 31 38 0d 46 69 67 | 75 72 65 20 35 2d 38 09 |5-18.Fig|ure 5-8.|
|00004680| 48 6f 77 20 61 6e 20 41 | 44 42 20 64 65 76 69 63 |How an A|DB devic|
|00004690| 65 20 72 65 73 70 6f 6e | 64 73 20 74 6f 20 61 20 |e respon|ds to a |
|000046a0| 70 6f 6c 6c 69 6e 67 20 | 72 65 71 75 65 73 74 20 |polling |request |
|000046b0| 62 79 20 74 68 65 20 41 | 44 42 20 4d 61 6e 61 67 |by the A|DB Manag|
|000046c0| 65 72 14 14 35 2d 31 39 | 0d 46 69 67 75 72 65 20 |er..5-19|.Figure |
|000046d0| 35 2d 39 09 54 68 65 20 | 41 44 42 20 73 65 72 76 |5-9.The |ADB serv|
|000046e0| 69 63 65 20 72 65 71 75 | 65 73 74 20 73 69 67 6e |ice requ|est sign|
|000046f0| 61 6c 14 14 35 2d 32 30 | 0d 46 69 67 75 72 65 20 |al..5-20|.Figure |
|00004700| 35 2d 31 30 09 41 6e 20 | 41 44 42 20 64 65 76 69 |5-10.An |ADB devi|
|00004710| 63 65 20 61 73 73 65 72 | 74 73 20 74 68 65 20 73 |ce asser|ts the s|
|00004720| 65 72 76 69 63 65 20 72 | 65 71 75 65 73 74 20 73 |ervice r|equest s|
|00004730| 69 67 6e 61 6c 14 14 35 | 2d 32 31 0d 46 69 67 75 |ignal..5|-21.Figu|
|00004740| 72 65 20 35 2d 31 31 09 | 54 68 65 20 41 44 42 4f |re 5-11.|The ADBO|
|00004750| 70 20 72 6f 75 74 69 6e | 65 20 61 6e 64 20 61 6e |p routin|e and an|
|00004760| 20 41 44 42 20 63 6f 6d | 70 6c 65 74 69 6f 6e 20 | ADB com|pletion |
|00004770| 72 6f 75 74 69 6e 65 14 | 14 35 2d 32 35 0d 54 61 |routine.|.5-25.Ta|
|00004780| 62 6c 65 20 35 2d 31 09 | 52 65 67 69 73 74 65 72 |ble 5-1.|Register|
|00004790| 20 30 20 69 6e 20 74 68 | 65 20 41 70 70 6c 65 20 | 0 in th|e Apple |
|000047a0| 53 74 61 6e 64 61 72 64 | 20 6b 65 79 62 6f 61 72 |Standard| keyboar|
|000047b0| 64 14 14 35 2d 31 30 0d | 54 61 62 6c 65 20 35 2d |d..5-10.|Table 5-|
|000047c0| 32 09 42 69 74 73 20 69 | 6e 20 64 65 76 69 63 65 |2.Bits i|n device|
|000047d0| 20 72 65 67 69 73 74 65 | 72 20 33 14 14 35 2d 31 | registe|r 3..5-1|
|000047e0| 31 0d 54 61 62 6c 65 20 | 35 2d 33 09 44 65 66 69 |1.Table |5-3.Defi|
|000047f0| 6e 65 64 20 64 65 66 61 | 75 6c 74 20 41 44 42 20 |ned defa|ult ADB |
|00004800| 64 65 76 69 63 65 20 61 | 64 64 72 65 73 73 65 73 |device a|ddresses|
|00004810| 14 14 35 2d 31 32 0d 54 | 61 62 6c 65 20 35 2d 34 |..5-12.T|able 5-4|
|00004820| 09 53 70 65 63 69 61 6c | 20 64 65 76 69 63 65 20 |.Special| device |
|00004830| 68 61 6e 64 6c 65 72 20 | 49 44 73 14 14 35 2d 31 |handler |IDs..5-1|
|00004840| 33 0d 54 61 62 6c 65 20 | 35 2d 35 09 54 79 70 69 |3.Table |5-5.Typi|
|00004850| 63 61 6c 20 41 44 42 20 | 64 65 76 69 63 65 20 74 |cal ADB |device t|
|00004860| 61 62 6c 65 20 61 74 20 | 69 6e 69 74 69 61 6c 69 |able at |initiali|
|00004870| 7a 61 74 69 6f 6e 14 14 | 35 2d 31 34 0d 4c 69 73 |zation..|5-14.Lis|
|00004880| 74 69 6e 67 20 35 2d 31 | 09 44 65 74 65 72 6d 69 |ting 5-1|.Determi|
|00004890| 6e 69 6e 67 20 77 68 65 | 74 68 65 72 20 61 6e 20 |ning whe|ther an |
|000048a0| 41 44 42 20 64 65 76 69 | 63 65 20 69 73 20 61 6e |ADB devi|ce is an|
|000048b0| 20 41 70 70 6c 65 20 45 | 78 74 65 6e 64 65 64 20 | Apple E|xtended |
|000048c0| 6b 65 79 62 6f 61 72 64 | 14 14 35 2d 32 33 0d 4c |keyboard|..5-23.L|
|000048d0| 69 73 74 69 6e 67 20 35 | 2d 32 09 53 65 6e 64 69 |isting 5|-2.Sendi|
|000048e0| 6e 67 20 61 6e 20 41 44 | 42 20 63 6f 6d 6d 61 6e |ng an AD|B comman|
|000048f0| 64 20 73 79 6e 63 68 72 | 6f 6e 6f 75 73 6c 79 14 |d synchr|onously.|
|00004900| 14 35 2d 32 35 0d 4c 69 | 73 74 69 6e 67 20 35 2d |.5-25.Li|sting 5-|
|00004910| 33 09 52 65 61 64 69 6e | 67 20 74 68 65 20 63 75 |3.Readin|g the cu|
|00004920| 72 72 65 6e 74 20 73 74 | 61 74 65 20 6f 66 20 74 |rrent st|ate of t|
|00004930| 68 65 20 4c 45 44 20 6c | 69 67 68 74 73 14 14 35 |he LED l|ights..5|
|00004940| 2d 32 36 0d 4c 69 73 74 | 69 6e 67 20 35 2d 34 09 |-26.List|ing 5-4.|
|00004950| 53 65 74 74 69 6e 67 20 | 74 68 65 20 63 75 72 72 |Setting |the curr|
|00004960| 65 6e 74 20 73 74 61 74 | 65 20 6f 66 20 74 68 65 |ent stat|e of the|
|00004970| 20 4c 45 44 20 6c 69 67 | 68 74 73 14 14 35 2d 32 | LED lig|hts..5-2|
|00004980| 37 0d 4c 69 73 74 69 6e | 67 20 35 2d 35 09 43 6f |7.Listin|g 5-5.Co|
|00004990| 75 6e 74 69 6e 67 20 69 | 6e 20 62 69 6e 61 72 79 |unting i|n binary|
|000049a0| 20 75 73 69 6e 67 20 61 | 20 6b 65 79 62 6f 61 72 | using a| keyboar|
|000049b0| 64 d5 73 20 4c 45 44 20 | 6c 69 67 68 74 73 14 14 |d.s LED |lights..|
|000049c0| 35 2d 32 38 0d 4c 69 73 | 74 69 6e 67 20 35 2d 36 |5-28.Lis|ting 5-6|
|000049d0| 09 49 6e 73 74 61 6c 6c | 69 6e 67 20 61 6e 20 41 |.Install|ing an A|
|000049e0| 44 42 20 64 65 76 69 63 | 65 20 68 61 6e 64 6c 65 |DB devic|e handle|
|000049f0| 72 14 14 35 2d 33 32 0d | 4c 69 73 74 69 6e 67 20 |r..5-32.|Listing |
|00004a00| 35 2d 37 09 49 6e 73 74 | 61 6c 6c 69 6e 67 20 61 |5-7.Inst|alling a|
|00004a10| 20 72 6f 75 74 69 6e 65 | 20 70 6f 69 6e 74 65 72 | routine| pointer|
|00004a20| 20 69 6e 74 6f 20 4a 41 | 44 42 50 72 6f 63 14 14 | into JA|DBProc..|
|00004a30| 35 2d 33 35 0d 4c 69 73 | 74 69 6e 67 20 35 2d 38 |5-35.Lis|ting 5-8|
|00004a40| 09 41 20 73 61 6d 70 6c | 65 20 64 65 76 69 63 65 |.A sampl|e device|
|00004a50| 20 68 61 6e 64 6c 65 72 | 14 14 35 2d 33 37 0d 0d | handler|..5-37..|
|00004a60| 43 68 61 70 74 65 72 20 | 36 09 50 6f 77 65 72 20 |Chapter |6.Power |
|00004a70| 4d 61 6e 61 67 65 72 14 | 14 36 2d 31 0d 0d 46 69 |Manager.|.6-1..Fi|
|00004a80| 67 75 72 65 20 36 2d 31 | 09 41 20 6e 65 74 77 6f |gure 6-1|.A netwo|
|00004a90| 72 6b 20 64 72 69 76 65 | 72 d5 73 20 73 6c 65 65 |rk drive|r.s slee|
|00004aa0| 70 20 64 69 61 6c 6f 67 | 20 62 6f 78 14 14 36 2d |p dialog| box..6-|
|00004ab0| 35 0d 54 61 62 6c 65 20 | 36 2d 31 09 52 65 73 70 |5.Table |6-1.Resp|
|00004ac0| 6f 6e 73 65 20 6f 66 20 | 6e 65 74 77 6f 72 6b 20 |onse of |network |
|00004ad0| 73 65 72 76 69 63 65 73 | 20 74 6f 20 73 6c 65 65 |services| to slee|
|00004ae0| 70 20 72 65 71 75 65 73 | 74 73 20 61 6e 64 20 73 |p reques|ts and s|
|00004af0| 6c 65 65 70 20 64 65 6d | 61 6e 64 73 14 14 36 2d |leep dem|ands..6-|
|00004b00| 31 30 0d 4c 69 73 74 69 | 6e 67 20 36 2d 31 09 44 |10.Listi|ng 6-1.D|
|00004b10| 65 74 65 72 6d 69 6e 69 | 6e 67 20 77 68 69 63 68 |etermini|ng which|
|00004b20| 20 50 6f 77 65 72 20 4d | 61 6e 61 67 65 72 20 64 | Power M|anager d|
|00004b30| 69 73 70 61 74 63 68 20 | 72 6f 75 74 69 6e 65 73 |ispatch |routines|
|00004b40| 20 65 78 69 73 74 14 14 | 36 2d 31 35 0d 4c 69 73 | exist..|6-15.Lis|
|00004b50| 74 69 6e 67 20 36 2d 32 | 09 53 65 74 74 69 6e 67 |ting 6-2|.Setting|
|00004b60| 20 74 68 65 20 77 61 6b | 65 75 70 20 74 69 6d 65 | the wak|eup time|
|00004b70| 72 14 14 36 2d 31 37 0d | 4c 69 73 74 69 6e 67 20 |r..6-17.|Listing |
|00004b80| 36 2d 33 09 41 64 64 69 | 6e 67 20 61 6e 20 65 6e |6-3.Addi|ng an en|
|00004b90| 74 72 79 20 74 6f 20 74 | 68 65 20 73 6c 65 65 70 |try to t|he sleep|
|00004ba0| 20 71 75 65 75 65 14 14 | 36 2d 31 38 0d 4c 69 73 | queue..|6-18.Lis|
|00004bb0| 74 69 6e 67 20 36 2d 34 | 09 49 6e 73 74 61 6c 6c |ting 6-4|.Install|
|00004bc0| 69 6e 67 20 61 20 73 6c | 65 65 70 20 70 72 6f 63 |ing a sl|eep proc|
|00004bd0| 65 64 75 72 65 20 74 68 | 61 74 20 75 73 65 73 20 |edure th|at uses |
|00004be0| 61 70 70 6c 69 63 61 74 | 69 6f 6e 20 67 6c 6f 62 |applicat|ion glob|
|00004bf0| 61 6c 20 76 61 72 69 61 | 62 6c 65 73 14 14 36 2d |al varia|bles..6-|
|00004c00| 32 30 0d 4c 69 73 74 69 | 6e 67 20 36 2d 35 09 41 |20.Listi|ng 6-5.A|
|00004c10| 63 63 65 70 74 69 6e 67 | 20 61 6e 64 20 64 65 6e |ccepting| and den|
|00004c20| 79 69 6e 67 20 61 20 73 | 6c 65 65 70 20 72 65 71 |ying a s|leep req|
|00004c30| 75 65 73 74 14 14 36 2d | 32 31 0d 4c 69 73 74 69 |uest..6-|21.Listi|
|00004c40| 6e 67 20 36 2d 36 09 41 | 20 73 6c 65 65 70 20 70 |ng 6-6.A| sleep p|
|00004c50| 72 6f 63 65 64 75 72 65 | 14 14 36 2d 32 31 0d 4c |rocedure|..6-21.L|
|00004c60| 69 73 74 69 6e 67 20 36 | 2d 37 09 52 65 74 72 69 |isting 6|-7.Retri|
|00004c70| 65 76 69 6e 67 20 74 68 | 65 20 73 6c 65 65 70 20 |eving th|e sleep |
|00004c80| 71 75 65 75 65 20 72 65 | 63 6f 72 64 20 61 6e 64 |queue re|cord and|
|00004c90| 20 74 68 65 20 73 65 6c | 65 63 74 6f 72 20 63 6f | the sel|ector co|
|00004ca0| 64 65 14 14 36 2d 32 32 | 0d 4c 69 73 74 69 6e 67 |de..6-22|.Listing|
|00004cb0| 20 36 2d 38 09 44 69 73 | 70 6c 61 79 69 6e 67 20 | 6-8.Dis|playing |
|00004cc0| 61 20 64 69 61 6c 6f 67 | 20 62 6f 78 20 69 6e 20 |a dialog| box in |
|00004cd0| 72 65 73 70 6f 6e 73 65 | 20 74 6f 20 61 20 73 6c |response| to a sl|
|00004ce0| 65 65 70 20 64 65 6d 61 | 6e 64 14 14 36 2d 32 33 |eep dema|nd..6-23|
|00004cf0| 0d 4c 69 73 74 69 6e 67 | 20 36 2d 39 09 41 20 6d |.Listing| 6-9.A m|
|00004d00| 6f 64 61 6c 20 64 69 61 | 6c 6f 67 20 66 69 6c 74 |odal dia|log filt|
|00004d10| 65 72 20 66 75 6e 63 74 | 69 6f 6e 20 74 68 61 74 |er funct|ion that|
|00004d20| 20 74 69 6d 65 73 20 6f | 75 74 14 14 36 2d 32 34 | times o|ut..6-24|
|00004d30| 0d 0d 43 68 61 70 74 65 | 72 20 37 09 53 65 72 69 |..Chapte|r 7.Seri|
|00004d40| 61 6c 20 44 72 69 76 65 | 72 14 14 37 2d 31 0d 0d |al Drive|r..7-1..|
|00004d50| 46 69 67 75 72 65 20 37 | 2d 31 09 54 68 65 20 66 |Figure 7|-1.The f|
|00004d60| 6f 72 6d 61 74 20 6f 66 | 20 73 65 72 69 61 6c 69 |ormat of| seriali|
|00004d70| 7a 65 64 20 62 69 74 73 | 14 14 37 2d 35 0d 46 69 |zed bits|..7-5.Fi|
|00004d80| 67 75 72 65 20 37 2d 32 | 09 54 68 65 20 72 6f 6c |gure 7-2|.The rol|
|00004d90| 65 20 6f 66 20 74 68 65 | 20 53 65 72 69 61 6c 20 |e of the| Serial |
|00004da0| 44 72 69 76 65 72 14 14 | 37 2d 39 0d 46 69 67 75 |Driver..|7-9.Figu|
|00004db0| 72 65 20 37 2d 33 09 54 | 68 65 20 73 65 72 43 6f |re 7-3.T|he serCo|
|00004dc0| 6e 66 69 67 20 70 61 72 | 61 6d 65 74 65 72 20 66 |nfig par|ameter f|
|00004dd0| 6f 72 6d 61 74 14 14 37 | 2d 31 39 0d 4c 69 73 74 |ormat..7|-19.List|
|00004de0| 69 6e 67 20 37 2d 31 09 | 55 73 69 6e 67 20 74 68 |ing 7-1.|Using th|
|00004df0| 65 20 53 65 72 69 61 6c | 20 44 72 69 76 65 72 14 |e Serial| Driver.|
|00004e00| 14 37 2d 31 31 0d 0d 41 | 62 6f 75 74 20 54 68 69 |.7-11..A|bout Thi|
|00004e10| 73 20 42 6f 6f 6b 0d 0d | 0d 54 68 69 73 20 62 6f |s Book..|.This bo|
|00004e20| 6f 6b 2c 20 49 6e 73 69 | 64 65 20 4d 61 63 69 6e |ok, Insi|de Macin|
|00004e30| 74 6f 73 68 3a 20 44 65 | 76 69 63 65 73 2c 20 64 |tosh: De|vices, d|
|00004e40| 65 73 63 72 69 62 65 73 | 20 74 68 65 20 70 61 72 |escribes| the par|
|00004e50| 74 73 20 6f 66 20 74 68 | 65 20 4d 61 63 69 6e 74 |ts of th|e Macint|
|00004e60| 6f 73 68 20 4f 70 65 72 | 61 74 69 6e 67 20 53 79 |osh Oper|ating Sy|
|00004e70| 73 74 65 6d 20 74 68 61 | 74 20 61 6c 6c 6f 77 20 |stem tha|t allow |
|00004e80| 79 6f 75 20 74 6f 20 64 | 69 72 65 63 74 6c 79 20 |you to d|irectly |
|00004e90| 63 6f 6e 74 72 6f 6c 2c | 20 6d 61 6e 61 67 65 2c |control,| manage,|
|00004ea0| 20 61 6e 64 20 63 6f 6d | 6d 75 6e 69 63 61 74 65 | and com|municate|
|00004eb0| 20 77 69 74 68 20 69 6e | 74 65 72 6e 61 6c 20 61 | with in|ternal a|
|00004ec0| 6e 64 20 65 78 74 65 72 | 6e 61 6c 20 68 61 72 64 |nd exter|nal hard|
|00004ed0| 77 61 72 65 20 64 65 76 | 69 63 65 73 2e 20 49 74 |ware dev|ices. It|
|00004ee0| 20 63 6f 6e 74 61 69 6e | 73 20 69 6e 66 6f 72 6d | contain|s inform|
|00004ef0| 61 74 69 6f 6e 20 79 6f | 75 20 6e 65 65 64 20 74 |ation yo|u need t|
|00004f00| 6f 20 6b 6e 6f 77 20 74 | 6f 20 77 72 69 74 65 20 |o know t|o write |
|00004f10| 61 70 70 6c 69 63 61 74 | 69 6f 6e 73 20 61 6e 64 |applicat|ions and|
|00004f20| 20 64 65 76 69 63 65 20 | 64 72 69 76 65 72 73 20 | device |drivers |
|00004f30| 74 68 61 74 20 69 6e 74 | 65 72 66 61 63 65 20 77 |that int|erface w|
|00004f40| 69 74 68 20 74 68 65 20 | 44 65 76 69 63 65 20 4d |ith the |Device M|
|00004f50| 61 6e 61 67 65 72 2c 20 | 53 6c 6f 74 20 4d 61 6e |anager, |Slot Man|
|00004f60| 61 67 65 72 2c 20 53 43 | 53 49 20 4d 61 6e 61 67 |ager, SC|SI Manag|
|00004f70| 65 72 2c 20 53 43 53 49 | 20 4d 61 6e 61 67 65 72 |er, SCSI| Manager|
|00004f80| 20 34 2e 33 2c 20 41 44 | 42 20 4d 61 6e 61 67 65 | 4.3, AD|B Manage|
|00004f90| 72 2c 20 50 6f 77 65 72 | 20 4d 61 6e 61 67 65 72 |r, Power| Manager|
|00004fa0| 2c 20 61 6e 64 20 53 65 | 72 69 61 6c 20 44 72 69 |, and Se|rial Dri|
|00004fb0| 76 65 72 2e 0d 49 66 20 | 79 6f 75 20 61 72 65 20 |ver..If |you are |
|00004fc0| 6e 65 77 20 74 6f 20 70 | 72 6f 67 72 61 6d 6d 69 |new to p|rogrammi|
|00004fd0| 6e 67 20 66 6f 72 20 4d | 61 63 69 6e 74 6f 73 68 |ng for M|acintosh|
|00004fe0| 20 63 6f 6d 70 75 74 65 | 72 73 2c 20 79 6f 75 20 | compute|rs, you |
|00004ff0| 73 68 6f 75 6c 64 20 72 | 65 61 64 20 74 68 65 20 |should r|ead the |
|00005000| 62 6f 6f 6b 20 49 6e 73 | 69 64 65 20 4d 61 63 69 |book Ins|ide Maci|
|00005010| 6e 74 6f 73 68 3a 20 4f | 76 65 72 76 69 65 77 20 |ntosh: O|verview |
|00005020| 66 6f 72 20 61 6e 20 69 | 6e 74 72 6f 64 75 63 74 |for an i|ntroduct|
|00005030| 69 6f 6e 20 74 6f 20 67 | 65 6e 65 72 61 6c 20 63 |ion to g|eneral c|
|00005040| 6f 6e 63 65 70 74 73 20 | 6f 66 20 4d 61 63 69 6e |oncepts |of Macin|
|00005050| 74 6f 73 68 20 70 72 6f | 67 72 61 6d 6d 69 6e 67 |tosh pro|gramming|
|00005060| 2e 20 59 6f 75 20 73 68 | 6f 75 6c 64 20 61 6c 73 |. You sh|ould als|
|00005070| 6f 20 72 65 61 64 20 6f | 74 68 65 72 20 62 6f 6f |o read o|ther boo|
|00005080| 6b 73 20 69 6e 20 74 68 | 65 20 49 6e 73 69 64 65 |ks in th|e Inside|
|00005090| 20 4d 61 63 69 6e 74 6f | 73 68 20 73 65 72 69 65 | Macinto|sh serie|
|000050a0| 73 20 66 6f 72 20 73 70 | 65 63 69 66 69 63 20 69 |s for sp|ecific i|
|000050b0| 6e 66 6f 72 6d 61 74 69 | 6f 6e 20 61 62 6f 75 74 |nformati|on about|
|000050c0| 20 6f 74 68 65 72 20 61 | 73 70 65 63 74 73 20 6f | other a|spects o|
|000050d0| 66 20 74 68 65 20 4d 61 | 63 69 6e 74 6f 73 68 20 |f the Ma|cintosh |
|000050e0| 54 6f 6f 6c 62 6f 78 20 | 61 6e 64 20 74 68 65 20 |Toolbox |and the |
|000050f0| 4d 61 63 69 6e 74 6f 73 | 68 20 4f 70 65 72 61 74 |Macintos|h Operat|
|00005100| 69 6e 67 20 53 79 73 74 | 65 6d 2e 20 49 6e 20 70 |ing Syst|em. In p|
|00005110| 61 72 74 69 63 75 6c 61 | 72 2c 20 74 6f 20 62 65 |articula|r, to be|
|00005120| 6e 65 66 69 74 20 6d 6f | 73 74 20 66 72 6f 6d 20 |nefit mo|st from |
|00005130| 74 68 69 73 20 62 6f 6f | 6b 2c 20 79 6f 75 20 73 |this boo|k, you s|
|00005140| 68 6f 75 6c 64 20 61 6c | 72 65 61 64 79 20 62 65 |hould al|ready be|
|00005150| 20 66 61 6d 69 6c 69 61 | 72 20 77 69 74 68 20 74 | familia|r with t|
|00005160| 68 65 20 72 75 6e 2d 74 | 69 6d 65 20 65 6e 76 69 |he run-t|ime envi|
|00005170| 72 6f 6e 6d 65 6e 74 20 | 6f 66 20 4d 61 63 69 6e |ronment |of Macin|
|00005180| 74 6f 73 68 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |tosh app|lication|
|00005190| 73 2c 20 61 73 20 64 65 | 73 63 72 69 62 65 64 20 |s, as de|scribed |
|000051a0| 69 6e 20 74 68 65 20 74 | 77 6f 20 62 6f 6f 6b 73 |in the t|wo books|
|000051b0| 20 49 6e 73 69 64 65 20 | 4d 61 63 69 6e 74 6f 73 | Inside |Macintos|
|000051c0| 68 3a 20 50 72 6f 63 65 | 73 73 65 73 20 61 6e 64 |h: Proce|sses and|
|000051d0| 20 49 6e 73 69 64 65 20 | 4d 61 63 69 6e 74 6f 73 | Inside |Macintos|
|000051e0| 68 3a 20 4d 65 6d 6f 72 | 79 2e 0d 0d 46 6f 72 6d |h: Memor|y...Form|
|000051f0| 61 74 20 6f 66 20 61 20 | 54 79 70 69 63 61 6c 20 |at of a |Typical |
|00005200| 43 68 61 70 74 65 72 0d | 0d 4d 6f 73 74 20 6f 66 |Chapter.|.Most of|
|00005210| 20 74 68 65 20 63 68 61 | 70 74 65 72 73 20 69 6e | the cha|pters in|
|00005220| 20 74 68 69 73 20 62 6f | 6f 6b 20 69 6e 63 6c 75 | this bo|ok inclu|
|00005230| 64 65 20 74 68 65 20 66 | 6f 6c 6c 6f 77 69 6e 67 |de the f|ollowing|
|00005240| 20 66 6f 75 72 20 73 65 | 63 74 69 6f 6e 73 3a 0d | four se|ctions:.|
|00005250| 6e 09 d2 41 62 6f 75 74 | 20 74 68 65 20 2e 2e 2e |n..About| the ...|
|00005260| 20 4d 61 6e 61 67 65 72 | 2e d3 20 59 6f 75 20 73 | Manager|.. You s|
|00005270| 68 6f 75 6c 64 20 72 65 | 61 64 20 74 68 69 73 20 |hould re|ad this |
|00005280| 73 65 63 74 69 6f 6e 20 | 66 6f 72 20 61 20 67 65 |section |for a ge|
|00005290| 6e 65 72 61 6c 20 75 6e | 64 65 72 73 74 61 6e 64 |neral un|derstand|
|000052a0| 69 6e 67 20 6f 66 20 74 | 68 65 20 6d 61 6e 61 67 |ing of t|he manag|
|000052b0| 65 72 20 61 6e 64 20 77 | 68 61 74 20 74 61 73 6b |er and w|hat task|
|000052c0| 73 20 79 6f 75 20 63 61 | 6e 20 75 73 65 20 69 74 |s you ca|n use it|
|000052d0| 20 66 6f 72 2e 0d 6e 09 | d2 55 73 69 6e 67 20 74 | for..n.|.Using t|
|000052e0| 68 65 20 2e 2e 2e 20 4d | 61 6e 61 67 65 72 2e d3 |he ... M|anager..|
|000052f0| 20 54 68 69 73 20 73 65 | 63 74 69 6f 6e 20 70 72 | This se|ction pr|
|00005300| 6f 76 69 64 65 73 20 64 | 65 74 61 69 6c 65 64 20 |ovides d|etailed |
|00005310| 69 6e 73 74 72 75 63 74 | 69 6f 6e 73 20 6f 6e 20 |instruct|ions on |
|00005320| 75 73 69 6e 67 20 74 68 | 65 20 6d 61 6e 61 67 65 |using th|e manage|
|00005330| 72 2e 20 59 6f 75 20 73 | 68 6f 75 6c 64 20 72 65 |r. You s|hould re|
|00005340| 61 64 20 74 68 69 73 20 | 73 65 63 74 69 6f 6e 20 |ad this |section |
|00005350| 69 66 20 79 6f 75 20 6e | 65 65 64 20 74 6f 20 75 |if you n|eed to u|
|00005360| 73 65 20 74 68 65 20 73 | 65 72 76 69 63 65 73 20 |se the s|ervices |
|00005370| 70 72 6f 76 69 64 65 64 | 20 62 79 20 74 68 61 74 |provided| by that|
|00005380| 20 6d 61 6e 61 67 65 72 | 2e 0d 6e 09 d2 52 65 66 | manager|..n..Ref|
|00005390| 65 72 65 6e 63 65 2e d3 | 20 54 68 69 73 20 73 65 |erence..| This se|
|000053a0| 63 74 69 6f 6e 20 70 72 | 6f 76 69 64 65 73 20 61 |ction pr|ovides a|
|000053b0| 20 63 6f 6d 70 6c 65 74 | 65 20 72 65 66 65 72 65 | complet|e refere|
|000053c0| 6e 63 65 20 74 6f 20 74 | 68 65 20 63 6f 6e 73 74 |nce to t|he const|
|000053d0| 61 6e 74 73 2c 20 64 61 | 74 61 20 73 74 72 75 63 |ants, da|ta struc|
|000053e0| 74 75 72 65 73 2c 20 61 | 6e 64 20 72 6f 75 74 69 |tures, a|nd routi|
|000053f0| 6e 65 73 20 70 72 6f 76 | 69 64 65 64 20 62 79 20 |nes prov|ided by |
|00005400| 74 68 65 20 6d 61 6e 61 | 67 65 72 2e 20 45 61 63 |the mana|ger. Eac|
|00005410| 68 20 72 6f 75 74 69 6e | 65 20 64 65 73 63 72 69 |h routin|e descri|
|00005420| 70 74 69 6f 6e 20 61 6c | 73 6f 20 66 6f 6c 6c 6f |ption al|so follo|
|00005430| 77 73 20 61 20 73 74 61 | 6e 64 61 72 64 20 66 6f |ws a sta|ndard fo|
|00005440| 72 6d 61 74 2c 20 77 68 | 69 63 68 20 70 72 65 73 |rmat, wh|ich pres|
|00005450| 65 6e 74 73 20 74 68 65 | 20 72 6f 75 74 69 6e 65 |ents the| routine|
|00005460| 20 64 65 63 6c 61 72 61 | 74 69 6f 6e 20 66 6f 6c | declara|tion fol|
|00005470| 6c 6f 77 65 64 20 62 79 | 20 61 20 64 65 73 63 72 |lowed by| a descr|
|00005480| 69 70 74 69 6f 6e 20 6f | 66 20 65 76 65 72 79 20 |iption o|f every |
|00005490| 70 61 72 61 6d 65 74 65 | 72 20 6f 66 20 74 68 65 |paramete|r of the|
|000054a0| 20 72 6f 75 74 69 6e 65 | 2e 20 53 6f 6d 65 20 72 | routine|. Some r|
|000054b0| 6f 75 74 69 6e 65 20 64 | 65 73 63 72 69 70 74 69 |outine d|escripti|
|000054c0| 6f 6e 73 20 61 6c 73 6f | 20 67 69 76 65 20 61 64 |ons also| give ad|
|000054d0| 64 69 74 69 6f 6e 61 6c | 20 69 6e 66 6f 72 6d 61 |ditional| informa|
|000054e0| 74 69 6f 6e 2c 20 73 75 | 63 68 20 61 73 20 63 69 |tion, su|ch as ci|
|000054f0| 72 63 75 6d 73 74 61 6e | 63 65 73 20 75 6e 64 65 |rcumstan|ces unde|
|00005500| 72 20 77 68 69 63 68 20 | 79 6f 75 20 63 61 6e 6e |r which |you cann|
|00005510| 6f 74 20 63 61 6c 6c 20 | 74 68 65 20 72 6f 75 74 |ot call |the rout|
|00005520| 69 6e 65 2e 0d 6e 09 d2 | 53 75 6d 6d 61 72 79 2e |ine..n..|Summary.|
|00005530| d3 20 54 68 69 73 20 73 | 65 63 74 69 6f 6e 20 70 |. This s|ection p|
|00005540| 72 6f 76 69 64 65 73 20 | 74 68 65 20 43 2c 20 50 |rovides |the C, P|
|00005550| 61 73 63 61 6c 2c 20 61 | 6e 64 20 61 73 73 65 6d |ascal, a|nd assem|
|00005560| 62 6c 79 2d 6c 61 6e 67 | 75 61 67 65 20 69 6e 74 |bly-lang|uage int|
|00005570| 65 72 66 61 63 65 73 20 | 66 6f 72 20 74 68 65 20 |erfaces |for the |
|00005580| 63 6f 6e 73 74 61 6e 74 | 73 2c 20 64 61 74 61 20 |constant|s, data |
|00005590| 73 74 72 75 63 74 75 72 | 65 73 2c 20 72 6f 75 74 |structur|es, rout|
|000055a0| 69 6e 65 73 2c 20 61 6e | 64 20 72 65 73 75 6c 74 |ines, an|d result|
|000055b0| 20 63 6f 64 65 73 20 61 | 73 73 6f 63 69 61 74 65 | codes a|ssociate|
|000055c0| 64 20 77 69 74 68 20 74 | 68 65 20 6d 61 6e 61 67 |d with t|he manag|
|000055d0| 65 72 2e 20 0d 49 6e 20 | 61 64 64 69 74 69 6f 6e |er. .In |addition|
|000055e0| 2c 20 6d 6f 73 74 20 63 | 68 61 70 74 65 72 73 20 |, most c|hapters |
|000055f0| 63 6f 6e 74 61 69 6e 20 | 61 64 64 69 74 69 6f 6e |contain |addition|
|00005600| 61 6c 20 73 65 63 74 69 | 6f 6e 73 20 74 68 61 74 |al secti|ons that|
|00005610| 20 70 72 6f 76 69 64 65 | 20 62 61 63 6b 67 72 6f | provide| backgro|
|00005620| 75 6e 64 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 20 |und info|rmation |
|00005630| 61 62 6f 75 74 20 61 20 | 74 6f 70 69 63 2c 20 6f |about a |topic, o|
|00005640| 72 20 61 64 76 61 6e 63 | 65 64 20 69 6e 66 6f 72 |r advanc|ed infor|
|00005650| 6d 61 74 69 6f 6e 20 66 | 6f 72 20 73 70 65 63 69 |mation f|or speci|
|00005660| 66 69 63 20 74 79 70 65 | 73 20 6f 66 20 70 72 6f |fic type|s of pro|
|00005670| 67 72 61 6d 73 2e 0d 0d | 0d 43 6f 6e 76 65 6e 74 |grams...|.Convent|
|00005680| 69 6f 6e 73 20 55 73 65 | 64 20 69 6e 20 54 68 69 |ions Use|d in Thi|
|00005690| 73 20 42 6f 6f 6b 0d 0d | 49 6e 73 69 64 65 20 4d |s Book..|Inside M|
|000056a0| 61 63 69 6e 74 6f 73 68 | 20 75 73 65 73 20 76 61 |acintosh| uses va|
|000056b0| 72 69 6f 75 73 20 63 6f | 6e 76 65 6e 74 69 6f 6e |rious co|nvention|
|000056c0| 73 20 74 6f 20 70 72 65 | 73 65 6e 74 20 69 6e 66 |s to pre|sent inf|
|000056d0| 6f 72 6d 61 74 69 6f 6e | 2e 20 57 6f 72 64 73 20 |ormation|. Words |
|000056e0| 74 68 61 74 20 72 65 71 | 75 69 72 65 20 73 70 65 |that req|uire spe|
|000056f0| 63 69 61 6c 20 74 72 65 | 61 74 6d 65 6e 74 20 61 |cial tre|atment a|
|00005700| 70 70 65 61 72 20 69 6e | 20 73 70 65 63 69 66 69 |ppear in| specifi|
|00005710| 63 20 66 6f 6e 74 73 20 | 6f 72 20 66 6f 6e 74 20 |c fonts |or font |
|00005720| 73 74 79 6c 65 73 2e 20 | 43 65 72 74 61 69 6e 20 |styles. |Certain |
|00005730| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 2c 20 73 75 63 |informat|ion, suc|
|00005740| 68 20 61 73 20 70 61 72 | 61 6d 65 74 65 72 20 62 |h as par|ameter b|
|00005750| 6c 6f 63 6b 73 2c 20 61 | 70 70 65 61 72 73 20 69 |locks, a|ppears i|
|00005760| 6e 20 73 70 65 63 69 61 | 6c 20 66 6f 72 6d 61 74 |n specia|l format|
|00005770| 73 20 73 6f 20 74 68 61 | 74 20 79 6f 75 20 63 61 |s so tha|t you ca|
|00005780| 6e 20 73 63 61 6e 20 69 | 74 20 71 75 69 63 6b 6c |n scan i|t quickl|
|00005790| 79 2e 0d 0d 53 70 65 63 | 69 61 6c 20 46 6f 6e 74 |y...Spec|ial Font|
|000057a0| 73 0d 0d 41 6c 6c 20 63 | 6f 64 65 20 6c 69 73 74 |s..All c|ode list|
|000057b0| 69 6e 67 73 2c 20 72 65 | 73 65 72 76 65 64 20 77 |ings, re|served w|
|000057c0| 6f 72 64 73 2c 20 61 6e | 64 20 74 68 65 20 6e 61 |ords, an|d the na|
|000057d0| 6d 65 73 20 6f 66 20 61 | 63 74 75 61 6c 20 64 61 |mes of a|ctual da|
|000057e0| 74 61 20 73 74 72 75 63 | 74 75 72 65 73 2c 20 63 |ta struc|tures, c|
|000057f0| 6f 6e 73 74 61 6e 74 73 | 2c 20 66 69 65 6c 64 73 |onstants|, fields|
|00005800| 2c 20 70 61 72 61 6d 65 | 74 65 72 73 2c 20 61 6e |, parame|ters, an|
|00005810| 64 20 72 6f 75 74 69 6e | 65 73 20 61 72 65 20 73 |d routin|es are s|
|00005820| 68 6f 77 6e 20 69 6e 20 | 43 6f 75 72 69 65 72 20 |hown in |Courier |
|00005830| 28 74 68 69 73 20 69 73 | 20 43 6f 75 72 69 65 72 |(this is| Courier|
|00005840| 29 2e 0d 57 6f 72 64 73 | 20 74 68 61 74 20 61 70 |)..Words| that ap|
|00005850| 70 65 61 72 20 69 6e 20 | 62 6f 6c 64 66 61 63 65 |pear in |boldface|
|00005860| 20 61 72 65 20 6b 65 79 | 20 74 65 72 6d 73 20 6f | are key| terms o|
|00005870| 72 20 63 6f 6e 63 65 70 | 74 73 20 61 6e 64 20 61 |r concep|ts and a|
|00005880| 72 65 20 64 65 66 69 6e | 65 64 20 69 6e 20 74 68 |re defin|ed in th|
|00005890| 65 20 67 6c 6f 73 73 61 | 72 79 20 61 74 20 74 68 |e glossa|ry at th|
|000058a0| 65 20 65 6e 64 20 6f 66 | 20 74 68 69 73 20 62 6f |e end of| this bo|
|000058b0| 6f 6b 2e 0d 0d 54 79 70 | 65 73 20 6f 66 20 4e 6f |ok...Typ|es of No|
|000058c0| 74 65 73 0d 0d 54 68 65 | 72 65 20 61 72 65 20 73 |tes..The|re are s|
|000058d0| 65 76 65 72 61 6c 20 74 | 79 70 65 73 20 6f 66 20 |everal t|ypes of |
|000058e0| 6e 6f 74 65 73 20 75 73 | 65 64 20 69 6e 20 49 6e |notes us|ed in In|
|000058f0| 73 69 64 65 20 4d 61 63 | 69 6e 74 6f 73 68 2e 0d |side Mac|intosh..|
|00005900| 4e 6f 74 65 0d 41 20 6e | 6f 74 65 20 6c 69 6b 65 |Note.A n|ote like|
|00005910| 20 74 68 69 73 20 63 6f | 6e 74 61 69 6e 73 20 69 | this co|ntains i|
|00005920| 6e 66 6f 72 6d 61 74 69 | 6f 6e 20 74 68 61 74 20 |nformati|on that |
|00005930| 69 73 20 69 6e 74 65 72 | 65 73 74 69 6e 67 20 62 |is inter|esting b|
|00005940| 75 74 20 70 6f 73 73 69 | 62 6c 79 20 6e 6f 74 20 |ut possi|bly not |
|00005950| 65 73 73 65 6e 74 69 61 | 6c 20 74 6f 20 61 6e 20 |essentia|l to an |
|00005960| 75 6e 64 65 72 73 74 61 | 6e 64 69 6e 67 20 6f 66 |understa|nding of|
|00005970| 20 74 68 65 20 6d 61 69 | 6e 20 74 65 78 74 2e 20 | the mai|n text. |
|00005980| 28 41 6e 20 65 78 61 6d | 70 6c 65 20 61 70 70 65 |(An exam|ple appe|
|00005990| 61 72 73 20 6f 6e 20 70 | 61 67 65 20 31 2d 32 37 |ars on p|age 1-27|
|000059a0| 20 69 6e 20 74 68 65 20 | 63 68 61 70 74 65 72 20 | in the |chapter |
|000059b0| d2 44 65 76 69 63 65 20 | 4d 61 6e 61 67 65 72 2e |.Device |Manager.|
|000059c0| d3 29 13 75 0d 0d 49 4d | 50 4f 52 54 41 4e 54 0d |.).u..IM|PORTANT.|
|000059d0| 41 20 6e 6f 74 65 20 6c | 69 6b 65 20 74 68 69 73 |A note l|ike this|
|000059e0| 20 63 6f 6e 74 61 69 6e | 73 20 69 6e 66 6f 72 6d | contain|s inform|
|000059f0| 61 74 69 6f 6e 20 74 68 | 61 74 20 69 73 20 65 73 |ation th|at is es|
|00005a00| 73 65 6e 74 69 61 6c 20 | 66 6f 72 20 61 6e 20 75 |sential |for an u|
|00005a10| 6e 64 65 72 73 74 61 6e | 64 69 6e 67 20 6f 66 20 |nderstan|ding of |
|00005a20| 74 68 65 20 6d 61 69 6e | 20 74 65 78 74 2e 20 28 |the main| text. (|
|00005a30| 41 6e 20 65 78 61 6d 70 | 6c 65 20 61 70 70 65 61 |An examp|le appea|
|00005a40| 72 73 20 6f 6e 20 70 61 | 67 65 20 31 2d 31 30 20 |rs on pa|ge 1-10 |
|00005a50| 69 6e 20 74 68 65 20 63 | 68 61 70 74 65 72 20 d2 |in the c|hapter .|
|00005a60| 44 65 76 69 63 65 20 4d | 61 6e 61 67 65 72 2e d3 |Device M|anager..|
|00005a70| 29 13 73 0d 0d 73 57 41 | 52 4e 49 4e 47 0d 57 61 |).s..sWA|RNING.Wa|
|00005a80| 72 6e 69 6e 67 73 20 6c | 69 6b 65 20 74 68 69 73 |rnings l|ike this|
|00005a90| 20 69 6e 64 69 63 61 74 | 65 20 70 6f 74 65 6e 74 | indicat|e potent|
|00005aa0| 69 61 6c 20 70 72 6f 62 | 6c 65 6d 73 20 74 68 61 |ial prob|lems tha|
|00005ab0| 74 20 79 6f 75 20 73 68 | 6f 75 6c 64 20 62 65 20 |t you sh|ould be |
|00005ac0| 61 77 61 72 65 20 6f 66 | 20 61 73 20 79 6f 75 20 |aware of| as you |
|00005ad0| 64 65 73 69 67 6e 20 79 | 6f 75 72 20 61 70 70 6c |design y|our appl|
|00005ae0| 69 63 61 74 69 6f 6e 2e | 20 46 61 69 6c 75 72 65 |ication.| Failure|
|00005af0| 20 74 6f 20 68 65 65 64 | 20 74 68 65 73 65 20 77 | to heed| these w|
|00005b00| 61 72 6e 69 6e 67 73 20 | 63 6f 75 6c 64 20 72 65 |arnings |could re|
|00005b10| 73 75 6c 74 20 69 6e 20 | 73 79 73 74 65 6d 20 63 |sult in |system c|
|00005b20| 72 61 73 68 65 73 20 6f | 72 20 6c 6f 73 73 20 6f |rashes o|r loss o|
|00005b30| 66 20 64 61 74 61 2e 20 | 28 41 6e 20 65 78 61 6d |f data. |(An exam|
|00005b40| 70 6c 65 20 61 70 70 65 | 61 72 73 20 6f 6e 20 70 |ple appe|ars on p|
|00005b50| 61 67 65 20 31 2d 31 35 | 20 69 6e 20 74 68 65 20 |age 1-15| in the |
|00005b60| 63 68 61 70 74 65 72 20 | d2 44 65 76 69 63 65 20 |chapter |.Device |
|00005b70| 4d 61 6e 61 67 65 72 2e | d3 29 13 73 0d 0d 0d 41 |Manager.|.).s...A|
|00005b80| 73 73 65 6d 62 6c 79 2d | 4c 61 6e 67 75 61 67 65 |ssembly-|Language|
|00005b90| 20 49 6e 66 6f 72 6d 61 | 74 69 6f 6e 0d 0d 49 6e | Informa|tion..In|
|00005ba0| 73 69 64 65 20 4d 61 63 | 69 6e 74 6f 73 68 20 70 |side Mac|intosh p|
|00005bb0| 72 6f 76 69 64 65 73 20 | 69 6e 66 6f 72 6d 61 74 |rovides |informat|
|00005bc0| 69 6f 6e 20 61 62 6f 75 | 74 20 74 68 65 20 72 65 |ion abou|t the re|
|00005bd0| 67 69 73 74 65 72 73 20 | 66 6f 72 20 73 70 65 63 |gisters |for spec|
|00005be0| 69 66 69 63 20 72 6f 75 | 74 69 6e 65 73 20 6c 69 |ific rou|tines li|
|00005bf0| 6b 65 20 74 68 69 73 3a | 0d 52 65 67 69 73 74 65 |ke this:|.Registe|
|00005c00| 72 73 20 6f 6e 20 65 6e | 74 72 79 09 09 0d 41 30 |rs on en|try...A0|
|00005c10| 09 43 6f 6e 74 65 6e 74 | 73 20 6f 66 20 72 65 67 |.Content|s of reg|
|00005c20| 69 73 74 65 72 20 41 30 | 20 6f 6e 20 65 6e 74 72 |ister A0| on entr|
|00005c30| 79 09 0d 0d 52 65 67 69 | 73 74 65 72 73 20 6f 6e |y...Regi|sters on|
|00005c40| 20 65 78 69 74 09 09 0d | 44 30 09 43 6f 6e 74 65 | exit...|D0.Conte|
|00005c50| 6e 74 73 20 6f 66 20 72 | 65 67 69 73 74 65 72 20 |nts of r|egister |
|00005c60| 44 30 20 6f 6e 20 65 78 | 69 74 09 0d 0d 49 6e 20 |D0 on ex|it...In |
|00005c70| 61 64 64 69 74 69 6f 6e | 2c 20 49 6e 73 69 64 65 |addition|, Inside|
|00005c80| 20 4d 61 63 69 6e 74 6f | 73 68 20 70 72 65 73 65 | Macinto|sh prese|
|00005c90| 6e 74 73 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 20 |nts info|rmation |
|00005ca0| 61 62 6f 75 74 20 74 68 | 65 20 66 69 65 6c 64 73 |about th|e fields|
|00005cb0| 20 6f 66 20 61 20 70 61 | 72 61 6d 65 74 65 72 20 | of a pa|rameter |
|00005cc0| 62 6c 6f 63 6b 20 69 6e | 20 74 68 69 73 20 66 6f |block in| this fo|
|00005cd0| 72 6d 61 74 3a 0d 50 61 | 72 61 6d 65 74 65 72 20 |rmat:.Pa|rameter |
|00005ce0| 62 6c 6f 63 6b ab 09 69 | 6e 41 6e 64 4f 75 74 09 |block..i|nAndOut.|
|00005cf0| 48 61 6e 64 6c 65 09 49 | 6e 70 75 74 2f 6f 75 74 |Handle.I|nput/out|
|00005d00| 70 75 74 20 70 61 72 61 | 6d 65 74 65 72 2e 09 0d |put para|meter...|
|00005d10| ac 09 6f 75 74 70 75 74 | 31 09 50 74 72 09 4f 75 |..output|1.Ptr.Ou|
|00005d20| 74 70 75 74 20 70 61 72 | 61 6d 65 74 65 72 2e 09 |tput par|ameter..|
|00005d30| 0d ae 09 69 6e 70 75 74 | 31 09 50 74 72 09 49 6e |...input|1.Ptr.In|
|00005d40| 70 75 74 20 70 61 72 61 | 6d 65 74 65 72 2e 09 0d |put para|meter...|
|00005d50| 35 09 74 72 61 73 68 65 | 64 09 6c 6f 6e 67 09 41 |5.trashe|d.long.A|
|00005d60| 66 66 65 63 74 65 64 20 | 66 69 65 6c 64 2e 09 0d |ffected |field...|
|00005d70| 0d 54 68 65 20 61 72 72 | 6f 77 20 69 6e 20 74 68 |.The arr|ow in th|
|00005d80| 65 20 6c 65 66 74 20 63 | 6f 6c 75 6d 6e 20 69 6e |e left c|olumn in|
|00005d90| 64 69 63 61 74 65 73 20 | 77 68 65 74 68 65 72 20 |dicates |whether |
|00005da0| 74 68 65 20 66 69 65 6c | 64 20 69 73 20 61 6e 20 |the fiel|d is an |
|00005db0| 69 6e 70 75 74 20 70 61 | 72 61 6d 65 74 65 72 2c |input pa|rameter,|
|00005dc0| 20 6f 75 74 70 75 74 20 | 70 61 72 61 6d 65 74 65 | output |paramete|
|00005dd0| 72 2c 20 6f 72 20 62 6f | 74 68 2e 20 59 6f 75 20 |r, or bo|th. You |
|00005de0| 6d 75 73 74 20 73 75 70 | 70 6c 79 20 76 61 6c 75 |must sup|ply valu|
|00005df0| 65 73 20 66 6f 72 20 61 | 6c 6c 20 69 6e 70 75 74 |es for a|ll input|
|00005e00| 20 70 61 72 61 6d 65 74 | 65 72 73 20 61 6e 64 20 | paramet|ers and |
|00005e10| 69 6e 70 75 74 2f 6f 75 | 74 70 75 74 20 70 61 72 |input/ou|tput par|
|00005e20| 61 6d 65 74 65 72 73 2e | 20 54 68 65 20 72 6f 75 |ameters.| The rou|
|00005e30| 74 69 6e 65 20 72 65 74 | 75 72 6e 73 20 76 61 6c |tine ret|urns val|
|00005e40| 75 65 73 20 69 6e 20 6f | 75 74 70 75 74 20 70 61 |ues in o|utput pa|
|00005e50| 72 61 6d 65 74 65 72 73 | 20 61 6e 64 20 69 6e 70 |rameters| and inp|
|00005e60| 75 74 2f 6f 75 74 70 75 | 74 20 70 61 72 61 6d 65 |ut/outpu|t parame|
|00005e70| 74 65 72 73 2e 0d 54 68 | 65 20 35 20 73 79 6d 62 |ters..Th|e 5 symb|
|00005e80| 6f 6c 20 64 65 73 69 67 | 6e 61 74 65 73 20 66 69 |ol desig|nates fi|
|00005e90| 65 6c 64 73 20 74 68 61 | 74 20 6d 61 79 20 62 65 |elds tha|t may be|
|00005ea0| 20 61 66 66 65 63 74 65 | 64 20 62 79 20 74 68 65 | affecte|d by the|
|00005eb0| 20 65 78 65 63 75 74 69 | 6f 6e 20 6f 66 20 74 68 | executi|on of th|
|00005ec0| 65 20 72 6f 75 74 69 6e | 65 2e 20 41 6e 79 20 76 |e routin|e. Any v|
|00005ed0| 61 6c 75 65 20 79 6f 75 | 20 73 74 6f 72 65 20 69 |alue you| store i|
|00005ee0| 6e 20 6f 6e 65 20 6f 66 | 20 74 68 65 73 65 20 61 |n one of| these a|
|00005ef0| 66 66 65 63 74 65 64 20 | 66 69 65 6c 64 73 20 6d |ffected |fields m|
|00005f00| 61 79 20 62 65 20 6c 6f | 73 74 2e 20 41 6c 73 6f |ay be lo|st. Also|
|00005f10| 2c 20 74 68 65 20 6d 65 | 61 6e 69 6e 67 20 6f 66 |, the me|aning of|
|00005f20| 20 74 68 65 73 65 20 66 | 69 65 6c 64 73 20 75 70 | these f|ields up|
|00005f30| 6f 6e 20 63 6f 6d 70 6c | 65 74 69 6f 6e 20 6f 66 |on compl|etion of|
|00005f40| 20 74 68 65 20 72 6f 75 | 74 69 6e 65 20 69 73 20 | the rou|tine is |
|00005f50| 75 6e 64 65 66 69 6e 65 | 64 3b 20 79 6f 75 72 20 |undefine|d; your |
|00005f60| 61 70 70 6c 69 63 61 74 | 69 6f 6e 20 73 68 6f 75 |applicat|ion shou|
|00005f70| 6c 64 20 6e 6f 74 20 64 | 65 70 65 6e 64 20 6f 6e |ld not d|epend on|
|00005f80| 20 74 68 65 73 65 20 76 | 61 6c 75 65 73 2e 0d 54 | these v|alues..T|
|00005f90| 68 65 20 73 65 63 6f 6e | 64 20 63 6f 6c 75 6d 6e |he secon|d column|
|00005fa0| 20 73 68 6f 77 73 20 74 | 68 65 20 66 69 65 6c 64 | shows t|he field|
|00005fb0| 20 6e 61 6d 65 20 61 73 | 20 64 65 66 69 6e 65 64 | name as| defined|
|00005fc0| 20 69 6e 20 74 68 65 20 | 4d 50 57 20 43 20 6f 72 | in the |MPW C or|
|00005fd0| 20 50 61 73 63 61 6c 20 | 69 6e 74 65 72 66 61 63 | Pascal |interfac|
|00005fe0| 65 20 66 69 6c 65 73 3b | 20 74 68 65 20 74 68 69 |e files;| the thi|
|00005ff0| 72 64 20 63 6f 6c 75 6d | 6e 20 69 6e 64 69 63 61 |rd colum|n indica|
|00006000| 74 65 73 20 74 68 65 20 | 43 20 6f 72 20 50 61 73 |tes the |C or Pas|
|00006010| 63 61 6c 20 64 61 74 61 | 20 74 79 70 65 20 6f 66 |cal data| type of|
|00006020| 20 74 68 61 74 20 66 69 | 65 6c 64 2e 20 54 68 65 | that fi|eld. The|
|00006030| 20 66 6f 75 72 74 68 20 | 63 6f 6c 75 6d 6e 20 70 | fourth |column p|
|00006040| 72 6f 76 69 64 65 73 20 | 61 20 62 72 69 65 66 20 |rovides |a brief |
|00006050| 64 65 73 63 72 69 70 74 | 69 6f 6e 20 6f 66 20 74 |descript|ion of t|
|00006060| 68 65 20 75 73 65 20 6f | 66 20 74 68 65 20 66 69 |he use o|f the fi|
|00006070| 65 6c 64 2e 20 46 6f 72 | 20 61 20 63 6f 6d 70 6c |eld. For| a compl|
|00006080| 65 74 65 20 64 65 73 63 | 72 69 70 74 69 6f 6e 20 |ete desc|ription |
|00006090| 6f 66 20 65 61 63 68 20 | 66 69 65 6c 64 2c 20 73 |of each |field, s|
|000060a0| 65 65 20 74 68 65 20 64 | 69 73 63 75 73 73 69 6f |ee the d|iscussio|
|000060b0| 6e 20 74 68 61 74 20 66 | 6f 6c 6c 6f 77 73 20 74 |n that f|ollows t|
|000060c0| 68 65 20 70 61 72 61 6d | 65 74 65 72 20 62 6c 6f |he param|eter blo|
|000060d0| 63 6b 20 6f 72 20 74 68 | 65 20 64 65 73 63 72 69 |ck or th|e descri|
|000060e0| 70 74 69 6f 6e 20 6f 66 | 20 74 68 65 20 70 61 72 |ption of| the par|
|000060f0| 61 6d 65 74 65 72 20 62 | 6c 6f 63 6b 20 69 6e 20 |ameter b|lock in |
|00006100| 74 68 65 20 72 65 66 65 | 72 65 6e 63 65 20 73 65 |the refe|rence se|
|00006110| 63 74 69 6f 6e 20 6f 66 | 20 74 68 65 20 63 68 61 |ction of| the cha|
|00006120| 70 74 65 72 2e 0d 0d 44 | 65 76 65 6c 6f 70 6d 65 |pter...D|evelopme|
|00006130| 6e 74 20 45 6e 76 69 72 | 6f 6e 6d 65 6e 74 0d 0d |nt Envir|onment..|
|00006140| 54 68 65 20 73 79 73 74 | 65 6d 20 73 6f 66 74 77 |The syst|em softw|
|00006150| 61 72 65 20 72 6f 75 74 | 69 6e 65 73 20 64 65 73 |are rout|ines des|
|00006160| 63 72 69 62 65 64 20 69 | 6e 20 74 68 69 73 20 62 |cribed i|n this b|
|00006170| 6f 6f 6b 20 61 72 65 20 | 61 76 61 69 6c 61 62 6c |ook are |availabl|
|00006180| 65 20 75 73 69 6e 67 20 | 43 2c 20 50 61 73 63 61 |e using |C, Pasca|
|00006190| 6c 2c 20 6f 72 20 61 73 | 73 65 6d 62 6c 79 2d 6c |l, or as|sembly-l|
|000061a0| 61 6e 67 75 61 67 65 20 | 69 6e 74 65 72 66 61 63 |anguage |interfac|
|000061b0| 65 73 2e 20 48 6f 77 20 | 79 6f 75 20 61 63 63 65 |es. How |you acce|
|000061c0| 73 73 20 74 68 65 73 65 | 20 72 6f 75 74 69 6e 65 |ss these| routine|
|000061d0| 73 20 64 65 70 65 6e 64 | 73 20 6f 6e 20 74 68 65 |s depend|s on the|
|000061e0| 20 64 65 76 65 6c 6f 70 | 6d 65 6e 74 20 65 6e 76 | develop|ment env|
|000061f0| 69 72 6f 6e 6d 65 6e 74 | 20 79 6f 75 20 61 72 65 |ironment| you are|
|00006200| 20 75 73 69 6e 67 2e 20 | 54 68 69 73 20 62 6f 6f | using. |This boo|
|00006210| 6b 20 73 68 6f 77 73 20 | 74 68 65 20 69 6e 74 65 |k shows |the inte|
|00006220| 72 66 61 63 65 20 74 6f | 20 73 79 73 74 65 6d 20 |rface to| system |
|00006230| 73 6f 66 74 77 61 72 65 | 20 72 6f 75 74 69 6e 65 |software| routine|
|00006240| 73 20 70 72 6f 76 69 64 | 65 64 20 62 79 20 74 68 |s provid|ed by th|
|00006250| 65 20 4d 61 63 69 6e 74 | 6f 73 68 20 50 72 6f 67 |e Macint|osh Prog|
|00006260| 72 61 6d 6d 65 72 d5 73 | 20 57 6f 72 6b 73 68 6f |rammer.s| Worksho|
|00006270| 70 20 28 4d 50 57 29 2e | 0d 43 6f 64 65 20 6c 69 |p (MPW).|.Code li|
|00006280| 73 74 69 6e 67 73 20 69 | 6e 20 74 68 69 73 20 62 |stings i|n this b|
|00006290| 6f 6f 6b 20 73 68 6f 77 | 20 6d 65 74 68 6f 64 73 |ook show| methods|
|000062a0| 20 6f 66 20 75 73 69 6e | 67 20 76 61 72 69 6f 75 | of usin|g variou|
|000062b0| 73 20 72 6f 75 74 69 6e | 65 73 20 61 6e 64 20 69 |s routin|es and i|
|000062c0| 6c 6c 75 73 74 72 61 74 | 65 20 74 65 63 68 6e 69 |llustrat|e techni|
|000062d0| 71 75 65 73 20 66 6f 72 | 20 61 63 63 6f 6d 70 6c |ques for| accompl|
|000062e0| 69 73 68 69 6e 67 20 70 | 61 72 74 69 63 75 6c 61 |ishing p|articula|
|000062f0| 72 20 74 61 73 6b 73 2e | 20 41 6c 6c 20 63 6f 64 |r tasks.| All cod|
|00006300| 65 20 6c 69 73 74 69 6e | 67 73 20 68 61 76 65 20 |e listin|gs have |
|00006310| 62 65 65 6e 20 63 6f 6d | 70 69 6c 65 64 20 61 6e |been com|piled an|
|00006320| 64 2c 20 69 6e 20 6d 6f | 73 74 20 63 61 73 65 73 |d, in mo|st cases|
|00006330| 2c 20 74 65 73 74 65 64 | 2e 20 48 6f 77 65 76 65 |, tested|. Howeve|
|00006340| 72 2c 20 41 70 70 6c 65 | 20 43 6f 6d 70 75 74 65 |r, Apple| Compute|
|00006350| 72 20 64 6f 65 73 20 6e | 6f 74 20 69 6e 74 65 6e |r does n|ot inten|
|00006360| 64 20 74 68 61 74 20 79 | 6f 75 20 75 73 65 20 74 |d that y|ou use t|
|00006370| 68 65 73 65 20 63 6f 64 | 65 20 73 61 6d 70 6c 65 |hese cod|e sample|
|00006380| 73 20 69 6e 20 79 6f 75 | 72 20 61 70 70 6c 69 63 |s in you|r applic|
|00006390| 61 74 69 6f 6e 2e 0d 0d | 0d 46 6f 72 20 4d 6f 72 |ation...|.For Mor|
|000063a0| 65 20 49 6e 66 6f 72 6d | 61 74 69 6f 6e 0d 0d 41 |e Inform|ation..A|
|000063b0| 50 44 41 20 69 73 20 41 | 70 70 6c 65 d5 73 20 77 |PDA is A|pple.s w|
|000063c0| 6f 72 6c 64 77 69 64 65 | 20 73 6f 75 72 63 65 20 |orldwide| source |
|000063d0| 66 6f 72 20 68 75 6e 64 | 72 65 64 73 20 6f 66 20 |for hund|reds of |
|000063e0| 64 65 76 65 6c 6f 70 6d | 65 6e 74 20 74 6f 6f 6c |developm|ent tool|
|000063f0| 73 2c 20 74 65 63 68 6e | 69 63 61 6c 20 72 65 73 |s, techn|ical res|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.